Daft warning.

admin

Administrator
Staff member
Hi.

Why does ...

<?php

require("..\php_scripts\session-inc.php");


if ( $del )
{
SessionDel();
}

?>

in an html page produce ...

Warning: Undefined variable: del in C:/My Documents/WebSites/Human Resources Web/public_html/sess1.php on line 4


How do I test for the existance of something rather than its value?

$del is going to be a form field when the page is reloaded.

$HTTP_POST_VARS["del"] is the same thing.

Please help.

Regards,

Richard Quadling.
 
Back
Top