You want to drop empty where clauses? This will work, although your
syntax will be wrong if $em is empty ( you will get an SQL syntax error
with the extra AND on the end ). You need a dummy clause after the where
clause to make things match up right, something that always returns true
like 1=1.
Hi all
I have written the following code, but I dont' think it's a good way to
write like this. Is there some other way to do good programming for this ?!
**
if ($f)
{
$SQL .= "
://www.php.net/manual/en/control-structures.switch.php
-Original Message-
From: TV Karthick Kumar [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 10:40 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] Any good way ?
Hi all
I have written the following code
3 matches
Mail list logo