Re: Formatting text
| From: | Michael J. Pawlowsky | Date: | Sun, 29 Dec 2002 16:46:47 +0000 |
| Subject: | Re: Formatting text | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-129588@lists.php.net to get a copy of this message | ||
> 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";