Thread
:
undefine variable
View Single Post
#
4
(
permalink
)
02-14-2008, 09:58 AM
kgun
WebProWorld 1,000+ Club
Join Date: May 2005
Location: Norway
Posts: 5,070
Re: undefine variable
If that is correct, a solution is to:
Connect a default value to $errors.
Try / Catch block to catch the error and take the necessary action.
Assumption about 2 above:
The web server has a PHP version where exception handling is implemented, PHP 5+.
__________________
Kjell Gunnar Bleivik
::
Financial information at your fingertips
Learn object oriented programming where it started
Last edited by kgun : 02-14-2008 at
10:01 AM
.
kgun
View Public Profile
Send a private message to kgun
Visit kgun's homepage!
Find all posts by kgun