RE: [PHP] TABLE COLUMNS

2003-06-02 Thread Don Read
On 02-Jun-2003 Ralph wrote: > I'm querying a database then printing the results in a . What I > want to do is format the results in a with 4 columns per row. > Any suggestions? > > Thanks. > $modulo=4; unset($a); echo "\n"; while($row = $r->FetchRow()) { if (count($a)

Re: [PHP] TABLE COLUMNS

2003-06-02 Thread Veniamin Goldin
probably something like: echo ""; $rs=mysql_query("select * from blabla;",$conn); while($row=mysql_fetch_row($rs)) { echo ""; echo "".$row[0].""; echo "".$row[1].""; echo "".$row[2].""; echo "".$row[3].""; echo ""; } echo ""; R> I'm querying a database then printing the result

[PHP] TABLE COLUMNS

2003-06-02 Thread Ralph
I'm querying a database then printing the results in a . What I want to do is format the results in a with 4 columns per row. Any suggestions? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php