Why mysql_real_escape_string
not working in this code ?
Normally, when load page input will be look like this.
http://image.free.in.th/v/2013/ie/160812064246.jpg
But When you load page www.example.com/test.php?value_1=">
Why input look like this.
http://image.free.in.th/v/2013/ia/160812064312.jpg
How can i do ?
test.php
<?PHP
include("connect.php");
$ex_search_value = mysql_real_escape_string($_GET['value_1']);
?>
<input placeholder="PLEASE ENTER" value="<?PHP echo $ex_search_value; ?>" style=" margin: 0px; width: 810px;height: 33px;line-height: 17px;line-height: 33px\0;^line-height: 33px;padding: 0px;margin-right: -1px;padding-left: 5px;-webkit-box-shadow: 0 2px 3px rgba(0,0,0,0.1);-moz-box-shadow: 0 2px 3px rgba(0,0,0,0.1); box-shadow: 0 2px 3px rgba(0,0,0,0.1); ">