MySQL without fetch_array

wxdqz

New Member
Hi people.
I'm new to php, so i've got a question.

For example, i have an unique field "id" and want to get SomeField from a table:

select SomeField from SomeTable where ID=SomeID

What is the way to get the result right into a $variable without using all that mysql_fetch_array etc? If there is any...

thnx in any case.
 
Back
Top