how do I fetch a field?

wxdqz

New Member
How do I fetch a field called \"KONTROLL\" and put it in a variable the easiest way?

Here\'s my line;

$result = mysql_query(\"SELECT KONTROLL FROM likvid WHERE ID=$idnummer[0]\");

I know that it will only fetch one line. I am a bit confused and new to mysql. What is actually stored in $result? And what do I write after this line?

Thanks!
 
Back
Top