"; echo "\n"; echo "\n"; if ( isset($StartPos) == 0 ){ $StartPos = 0; } if (! isset($Action) ){ $Action = "For_Sale"; } if ($Action == "For_Sale"){ $SearchType = "S"; } if ($Action == "Wanted"){ $SearchType = "B"; } ?>

> Search by Category  
>
"AAA" ) { echo ""; $SQLA = "SELECT CustId,Name,Address2 FROM cust WHERE Category LIKE '%$SearchCat%' ORDER BY Name" ; bldList("vcmessages.jsp?SessId=$SessId&Action=Compose&AccountNo=",$SQLA); echo "
"; }else{ echo "

 

Vcash protects the privacy of it members
However it does allow you to contact other members in a category that you are interested

Simply select a category of business that you are interested in and a listing of businesses in that category wil be displayed

Once the list is displayed you can then send a secure message to the members displayed

"; } require_once("vcfooter.inc"); /*****************************************************************************/ function bldList($phRef,$pSQL) { $gColor= "#B8F1E4" ; $gColor= "#C0F2E6" ; global $dbName; $bgColor = $gColor;//"#CCFFFF"; $qSQL = @mysql($dbName,$pSQL); $nSQL = @mysql_num_rows($qSQL); echo "\n"; if($nSQL > 0) { for($n=0;$n<$nSQL;$n++) { $hRef = @mysql_result($qSQL,$n,0); $Name = @mysql_result($qSQL,$n,1); $Area = @mysql_result($qSQL,$n,2); echo "\n$hRef   $Name   $Area "; if($bgColor != $gColor) { $bgColor = "$gColor"; }else{ $bgColor = "#FFFFFF"; } } }else{ echo "

Sorry but no matching listings were found

"; } } ?>