display_error=on

liunx

Guest
how can i eliminate errors if the display error on on my script


<?
session_start();
if($conType == ''){ $conType = 'local'; }
?>


it gives me an error like this


Notice: Undefined variable: SERVER in c:\htdocs\client\index.php on line 3Good trick. There is no variable named SERVER in the script you posted. You don't mean $_SERVER?

How to eliminate the error messages? Fix the errors.
 
Back
Top