thanks.. works perfectly! :)
M
>>-Original Message-
>>From: Chris Hobbs [mailto:[EMAIL PROTECTED]]
>>Sent: 17 August 2001 00:37
>>To: PHP-DB List
>>Subject: Re: [PHP-DB] exit query
>>
>>
>>Chris Hobbs wrote:
>>> exit;
>&g
Chris Hobbs wrote:
> exit;
Except, you'll want to remove that - doh!
--
Chris Hobbs Silver Valley Unified School District
Head geek: Technology Services Coordinator
webmaster: http://www.silvervalley.k12.ca.us/~chobbs/
postmaster: [EMAIL PROTECTED]
--
PH
Why not:
if (!$searchtype || !$searchterm)
{
echo "You have not entered any details. Please go back and try
again.";
exit;
} else {
// print out results
}
// print out rest of html file...
Mark Milaszkiewicz wrote:
>
> hiya. i'm currently working on a really basic search function f
hiya. i'm currently working on a really basic search function for my website
and am using this code
trim($searchterm);
if (!$searchtype || !$searchterm)
{
echo "You have not entered any details. Please go back and try
again.";