Re: [PHP] Delete Problem

2001-03-30 Thread KPortsmout
In a message dated 30/03/2001 17:59:52 GMT Daylight Time, [EMAIL PROTECTED] writes: << Correct me if I am wrong, but I thought that using IN needed to be followed by a comma separated list (with each value individually separated from the others) like this: $query="DELETE FROM EmailAddress W

RE: [PHP] Delete Problem

2001-03-30 Thread Sam Masiello
Correct me if I am wrong, but I thought that using IN needed to be followed by a comma separated list (with each value individually separated from the others) like this: $query="DELETE FROM EmailAddress WHERE Email NOT IN ('value1', 'value2', ., 'value_n')" ; if you want to use a comma sepa

Re: [PHP] Delete Problem

2001-03-30 Thread Christian Reiniger
On Friday 30 March 2001 14:14, you wrote: > echo"$inlist"; > $query="DELETE FROM EmailAddress WHERE Email NOT IN $inlist"; $query="DELETE FROM EmailAddress WHERE Email NOT IN ($inlist)"; -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Even idiots can handle computers, and many d