PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Ok, I have read through the forums and still could not find my answer. I have changed my code over and over and still does not work. So I turn to the Gods for help (btw, that is you all)!
Here is my error message:
Notice: Undefined offset: 1 in /var/www/html/public/amcad/admin/admin_edit.php on line 9
Notice: Undefined offset: 2 in /var/www/html/public/amcad/admin/admin_edit.php on line 9
Notice: Undefined offset: 3 in /var/www/html/public/amcad/admin/admin_edit.php on line 9
Your SQL statement is returning one field from the Select.
mysql_fetch_array returns the row, with an array set for each field.
At the moment you are checking for the array based on the row number, not the field.