Re: Variables from database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux