Re: Undefined Variables ?

From: Date: Tue, 23 Oct 2001 17:05:00 +0000
Subject: Re: Undefined Variables ?
References: 1  Groups: php.general php.windows 
Request: Send a blank email to php-general+get-71966@lists.php.net to get a copy of this message
You can test if a variable has been set by using the command: isset() eg if (isset($my_name)) echo "hi"; else echo "no name set"; This will stop any undefined variable warnings. Neil Maurice Schalker wrote: > After an update to 4.06 my guestbook isn´t working correct. > Between de code, i get an error : > Undefinde variable ? What went wrong? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > *************************************************************** > This message was virus checked with: SAVI 3.50 > last updated 23rd October 2001 > *************************************************************** -- -------------------------------- Email: neil.freeman@asa.co.uk neil_freeman@yahoo.com --------------------------------

« previous php.general (#71966) next »