Re: Variables from database

From: Date: Sun, 05 Dec 2004 20:37:11 +0000
Subject: Re: Variables from database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-203536@lists.php.net to get a copy of this message
Stuart Felenstein wrote:
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 Stuart,
why don't you try it first, then if you get the syntax wrong(as you have), you can fix it. Then if you are still in trouble, you can come to this newsgroup with a more meaningful request. It'll save you loads of time too. Best regards. . . Dusty

« previous php.general (#203536) next »