[thelist] simple! PHP data display
Andrew Maynes
andrew at humanbehaviour.co.uk
Thu Aug 22 08:00:01 CDT 2002
question here (not for a dummy like me!)
I have this code that is pulling data from a DB (mysql)
What I want to do is present is in a single row (alternating colours), at the
moment it just comes out in one mess, even if someone can point me to a tutorial
that would be great
Andrew
<?php
echo $row["field1"];
echo "<BR>";
echo $row["field2"];
echo "<BR>";
echo $row["field3"];
echo "<BR>";
echo $row["field4"];
?>
<?php
} // End of while loop
?>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/02
More information about the thelist
mailing list