I am trying to inout information from a get form into a database for obvious reason i do not want to risk sql injection so i am using escape string, however when i am trying to use mysqli real escape string it causes a blank output, but when i use plain get it works fine
So far i have managed to display it using echo $cly;
Even when trying adding real escape string direct to the get mysqli_real_escape_string($_GET['cly']);
this to does not work
$cly=$_GET['cly'];
$clyesc=mysqli_real_escape_string($cly);
echo $clyesc;