MySQL + PHP + get field value

wxdqz

New Member
I would like to get a value of a field from my table "likvid" in the column/field "TELEFON" where the ID is "11". How do I write in PHP with MySQL?

I tried this but it didn't work;

$result = mysql_query("SELECT TELEFON FROM likvid where ID=11", $db);

Thanks, Henrik
 
Back
Top