if(preg_match("/<a href=\"javascript:openPeeker()\" onMouseOver=\"document.images['up'].src='..\/pf\/overcase.jpg'\" onMouseOut=\"document.images['up'].src='..\/pf\/upcase.jpg'\">
<img src=\"..\/pf\/upcase.jpg\" width=\"106\" height=\"27\" alt=\"\" border=\"0\" align=\"\" name=\"up\"><\/a>/", $row[3]))
{
echo "hello";
}
That is my preg_match.
I have escaped the double quotes and the forward slash, but it doesn't match and I know that it should. I am also including what $row[3]:
<a href="javascript:openPeeker()" onMouseOver="document.images['up'].src='../pf/overcase.jpg'" onMouseOut="document.images['up'].src='../pf/upcase.jpg'">
<img src="../pf/upcase.jpg" width="106" height="27" alt="" border="0" align="" name="up"></a>Hand Painted Wood BirdhouseWind Chime; 6 Styles2 3/4"L x 1/2"W x 10"H
This is $row[3] which is off my database;
Why won't it match?