diferent data on diferent columns...

From: Date: Mon, 19 Nov 2001 21:55:45 +0000
Subject: diferent data on diferent columns...
Groups: php.general 
Request: Send a blank email to php-general+get-75154@lists.php.net to get a copy of this message
Hi, I wonder how could I do a script for print direfent data on diferents columns from a table... I mean this $result = mysql_query("SELECT * FROM xxx"); while(($row = mysql_fetch_array($result)){ echo "<table> echo " <tr> echo " <td>".$row[id]."<td>\n";//id for the firt record ex:1 echo " <td>".$row[id]."<td>\n";//id for the second record ex: 2 echo " </tr>\n"; echo "</table>\n"; if I do this it prints the same record value... please I need help...

« previous php.general (#75154) next »