note 47740 rejected from function.is-null by sean
| From: | sean@php.net | Date: | Sat, 27 Nov 2004 14:08:36 +0000 |
| Subject: | note 47740 rejected from function.is-null by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-81094@lists.php.net to get a copy of this message | ||
Note Submitter: mickyfunk at hotmail dot com
----
I am having problems with a function, it allows me to see whether or not somebody has entered text
within the text box.
<?php
function validatesearch(){
if (is_null($txtEventSearch))
{
echo ("events.php?error=true");
}
else
{
echo ("search.php");
}
}
?>
could anyone tell me what i have done wrong the only part of the function it runs is the
echo("events.php?error=true");