[thelist] looping through output with PHP

John Corry webshot at neoncowboy.com
Tue Jun 5 13:16:35 CDT 2001


I've done simple database retrieval and display with PHP.

Now I want to get a little 'tricky'...but I'm having a hard time conceiving
the code that'll make it work...

Looping with while is easy...I just output each row from the DB into a row
in the HTML table output. cake.

So, how do I put <gasp> 2 rows of DB returns on one row of HTML output?

:)
jpc
<tip type="photoshop">
PS 6's new type tools are awesome! Having a hard time navigating between
different sets of type in your image? Now, all you have to do is select the
layer that type is on...and make your adjustments to its attributes with the
'character' palette!
COOL!
</tip>





More information about the thelist mailing list