I keep getting a T_Variable exception when running this PHP code hosted on an online database. Am not really the expert at PHP, but maybe one of you can spot the error.
thanks,
Here is the code:
$wind = "deep34"; //error thrown here. When I delete this variable. //Error jumps to $name
$name = "6";
$sql = "select *from students where deviceid = '$name' and alpha = '$wind';";