Jump to content

One long row into columns ?


BoNfiRe

Recommended Posts

Hi, I have been trying to get a row of catagories to display more rows to stop the content going off the page.

 

Here is the code mentioned..

 

$c=@mysql_data_seek($catquery,0);

if($c) {
echo "<div class='tableborder'><table><tr>";
while ($c = mysql_fetch_array($catquery)) {

echo  "<td width='5%' align='center' class='arcade1'><a href='Arcade.php?cat=$c[0]'>$c[1]</a></td>";
} 
echo"</tr></table></div>";
echo "<br />";
}

 

I have read a few tutorials but finding it tricky to get it to work but to no avail :(

 

Any help would be greatly appreciated.

 

TY

BoN

Link to comment
https://forums.phpfreaks.com/topic/67432-one-long-row-into-columns/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.