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. [1058], Last Updated: Sat May 18, 2024
pacoman
Sun Jul 15, 2007
1 Comments
5300 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.