Re: Variables from database
| From: | Marek Kilimajer | Date: | Sun, 05 Dec 2004 21:38:04 +0000 |
| Subject: | Re: Variables from database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203540@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.you can use extract()