What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » simple php help

simple php help
Author: Message:
spokes
Full Member
***

Avatar
I <3 Rollerblading

Posts: 423
Reputation: 10
34 / Male / Flag
Joined: May 2004
O.P. RE: simple php help
quote:
Originally posted by Leo
$cols = 4;
$now = 0;
echo '<table><tr>';
while($d = mysql_fetch_assoc($sql_query)) {
echo '<td>'.$d['column1'].'</td>';
$now++;

if($now == $cols) {
echo '</tr><tr>';
$now = 0;
}
}
echo '</tr></table>';


thanks, it works :D

[Image: sig15ws.png]
01-05-2006 06:38 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
simple php help - by spokes on 01-05-2006 at 06:08 PM
RE: simple php help - by L. Coyote on 01-05-2006 at 06:26 PM
RE: simple php help - by spokes on 01-05-2006 at 06:38 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On