I am new to php so hopefully someone could point out where i am going wrong I have written a php code to fetch certain records from an MySQL database
I am running the query as
$result = mysql_query("SELECT * FROM Messages where Id='idLo'")
or die(mysql_error());
i get no results but when i hard code like
$result = mysql_query("SELECT * FROM Messages where Id='4'")
or die(mysql_error());
It returns all the data What am i misisng i am collecting idLo as a get parameter
$idLo = $_GET['id'];