After about 30 minutes (no exaggeration) of trying to fix this error, I am still coming up empty handed. Hopefully someone here can help me...
When I use this code:
<?php $getid = $_GET['user']
$rs = mysql_query("select 'name','age','country' from users where id='$getid' LIMIT 1"); <--- THIS IS LINE 9
list($name, $age, country) = mysql_fetch_row($rs); ?>
I get the following message: Parse error: syntax error, unexpected T_VARIABLE in "bla bla bla" on line 9. (line 9 is the second line in the code above)
I do know that the error means that I am missing one of these characters: ' ; ' " ) ( [ ] ...But I dont know which one(s) I am missing and where they belong..
Perhaps someone could point out what I have done wrong?
Kindest Regards,
James