Splitting 1 Colomn into 2

From: Date: Sun, 26 Aug 2001 18:07:13 +0000
Subject: Splitting 1 Colomn into 2
Groups: php.general 
Request: Send a blank email to php-general+get-64490@lists.php.net to get a copy of this message
Hello Thnx for your last replies, looks like i need more help with php now. I have this code: -------------------------------- function displayCategory(){ include ('admin/config.inc.php'); $connection = mysql_connect ("$host", "$username", "$password"); if ($connection == false){ echo mysql_errno().": ".mysql_error(); exit; } $query = "select ID,Category from sections"; $result = mysql_db_query ("$dbase", $query); if ($result){ echo "<table border=1>"; echo "<tr><td><b>Category</b></td></tr>"; $numOfRows = mysql_num_rows ($result); for ($i = 0; $i < $numOfRows; $i++){ $ID = mysql_result ($result, $i, "ID"); $Category = mysql_result ($result, $i, "Category"); echo "<tr><td><a href=\"knowledgebase.php?display=threads&thread=$ID\">$Category</a></td></tr >"; } echo "</table>"; } else{ echo mysql_errno().": ".mysql_error()."<BR>"; } mysql_close (); } ------------------------- It's pretty simple it grabs content into 1 huge colomn, i wonder how could i split it into 2 colomns Thank You Very much

« previous php.general (#64490) next »