table row

From: Date: Thu, 31 Jan 2002 22:45:14 +0000
Subject: table row
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-83020@lists.php.net to get a copy of this message
apologies for a stupid question ! but it's late ! everthings fine, mysql query, results etc but I want to produce a table with two columns instead of just one long column ie answer1 answer2 can someone please give me a hint how to do it ? while ($r = mysql_fetch_array($result0)) { $cityid = $r["t_city_id_city"]; $cityname = $r["t_city_name"]; echo " <td class=\"text\"><a href=\"city_person.php?city_id=$cityid\">$cityname</a></td> "; } // from while result 0 echo"</table>"; thanks in advance

« previous php.general (#83020) next »