placeholders in db and escaping

From: Date: Sun, 15 Jun 2003 14:13:47 +0000
Subject: placeholders in db and escaping
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5960@lists.php.net to get a copy of this message
Hi I might be missing something here (I surely hope so), but if I want to use placeholders with prepare() and execute(), it doesn't seem possible to use bitwise AND in a query: SELECT Foo FROM Bar WHERE Baz & 0x0100 AND Foo LIKE '!%' Escaping the bitwise AND (\&) doesn't help. Please tell me I'm wrong and there is a way to do this apart from implementing from scratch. -- --Fredrik There are three kinds of lies: Lies, Damn Lies, and Statistics. -- Disraeli

« previous php.pear.general (#5960) next »