How To Disabled Notice: Undefined variable: error in index.php on line 95
- Forums
- PHP
- How To Disabled Notice: Undefined variable: error in index.php on line 95
This Page Contains information about How To Disabled Notice: Undefined variable: error in index.php on line 95 By pacoman in category PHP with 1 Replies. [1920], Last Updated: Mon Jun 24, 2024
pacoman
Fri Feb 29, 2008
1 Comments
459 Visits
hi, i have a script and for some reason i keep getting this error,
Disabled Notice: Undefined variable: error in index.php on line 95
can you tell me why? i've never seen this error before?
thanks
one way to solve this is to disabled Display_errors in php.ini - CLICK HERE TO LEARN HOW
another way is to disable it in your php, CLICK HERE to disable error reporting
but the best way to do this is to make your script better.
if you have something like: if($_POST['foo']) or if($_REQUEST['foo']) change it to look like this:
if(isset($_POST['foo']))
so i just added the isset() function.