Im trying to select the title column from a particular row
$eventid = $_GET[\'id\']; $field = $_GET[\'field\']; $result = mysql_query(\"SELECT $field FROM `event
And escape your values with mysql_real_escape_string since PHP6 won't do that for you anymore! :)