mysql functions as find parameters

From: Date: Tue, 12 Apr 2005 17:57:30 +0000
Subject: mysql functions as find parameters
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18705@lists.php.net to get a copy of this message
Hi guys, I'm attempting to set a mysql function as an argument for a query using DataObject. Some code to clarify: $users->users_pw = "password('${_POST['users_pw']}')"; Obviously, when find() is run, the query has the password value escaped with single quotes. How do I prevent this? It seems to me that Cast has something to do with it, but I can't seem to get the syntax. Any ideas? Sasha Sklar Web Application Developer craveonline.com

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