The following code: $result = mysql_query("SELECT * FROM motor_vehicle",$db); $strSep = ' | '; while ($myrow = mysql_fetch_array($result)) { echo $myrow['id'].$strSep; } Gives me the following error: Warning: Undefined index: id in C:\PHP\Test_Scripts\testdb2.php on line 16 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- Re: [PHP-DB] How do you define table row indexes? Anyangwe, Tanwani