Forum Moderators: coopster
So I did this:
select * from table where column_name regexp '^.*:\\n'
This works beautifully if I type it directly into mysql, But if I put it into a mysql_query in a php doc like this:
$result = mysql_query("select * from table where column_name regexp '^.*:\\n'");
I get nothing.
I dug and dug and finally figured it out it was the \n that was throwing the whole thing off, and *only* if I try to use it in a php script.
I am completely stumped. Any suggestions?