> if ($result=mysql_query($sql)) { > $numofrows=mysql_num_rows($result); > Print "Greengrass database has found the following result that matches >your search"; > print " <br>\n"; > print " <br>\n";
Add this line here ---------------> print "<pre>\n"; No longer need the BRs below---------------> > while($row=mysql_fetch_array($result)){ > Print " Identity : ".$row[GGID]."\n"." "; > Print " Organisation name : ".$row[OrgName]." \n".""; > Print " Organisation country : ".$row[OrgCountry]." \n".""; > Print " Organisation Address : ".$row[OrgAddress]."\n"." "; > Print " Results : ".$row[Results]."\n"; > print "\n"; > print "\n"; > } Add this line here ---------------> print "<pre>\n"; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php