Re: Undefined index???

From: Date: Fri, 12 Dec 2003 07:43:02 +0000
Subject: Re: Undefined index???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-172556@lists.php.net to get a copy of this message
On Friday 12 December 2003 15:43, irinchiang@justeducation.com wrote: > I keep getting this error: > > Notice: Undefined index: tutor_id in /usr/local/.......... > > What does "undefined index" exactly mean?? I did a search on the web but > couldn't find any solutions. Basically it means you're trying to access a non-existent item in the array. > The line that cause this error is as follow: > > $tutor_id = $_POST["tutor_id"]; print_r($_POST) will show all the items in $_POST. Is your form set to use the "post" method? If not then look in $_GET for your form input data. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* No snowflake in an avalanche ever feels responsible. */

« previous php.general (#172556) next »