note 101859 deleted from function.mysql-query by danbrown

From: Date: Fri, 14 Jan 2011 17:36:10 +0000
Subject: note 101859 deleted from function.mysql-query by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-175753@lists.php.net to get a copy of this message
Note Submitter: radu ---- Hi guys, Try this: (in phpmyadmin or directly in mysql console): SELECT * FROM a_table WHERE a_column REGEXP '(\\\\)' this, works fine if ran like that - the query searches in a_table the rows where a_column contains a "\" character. however, if I run this query using mysql_query (I also tried with adodb) it gives me : Got error 'parentheses not balanced' from regexp1

« previous php.notes (#175753) next »