Variables from database

From: Date: Sun, 05 Dec 2004 19:45:00 +0000
Subject: Variables from database
Groups: php.general 
Request: Send a blank email to php-general+get-203534@lists.php.net to get a copy of this message
I haven't try this yet but wondering if it's possible. Can I do something like this: select fieldone from table ; $myvar = $fieldone ? And more so could I do it with a where clause ? i.e. select fieldone from table where fieldone = 3 $myvar = $fieldone ? This is probably a stupid question. I am also wondering about syntax. Thank you, Stuart

« previous php.general (#203534) next »