Page 1 of 1

Are those expressions the same?

Posted: Wed Jan 14, 2004 11:18 pm
by Perfidus
Are those expresions exactly the same?

Code: Select all

SELECT * from db1, db2 WHERE (db1.Ref=db2.Ref AND Localidad='$Localidad' AND Pepino != '0')

Code: Select all

$llegada=Pepino;
SELECT * from db1, db2 WHERE (db1.Ref=db2.Ref AND Localidad='$Localidad' AND $llegada != '0')

Posted: Thu Jan 15, 2004 2:55 am
by twigletmac
In theory yes - but since you're asking the question I assume it doesn't work for you for some reason. If so, please post the offending code and any error messages you are receiving.

Mac