RE: [PHP] mmmmm SELECT
| From: | Bruce Levick | Date: | Tue, 07 Jan 2003 02:25:54 +0000 |
| Subject: | RE: [PHP] mmmmm SELECT | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-130524@lists.php.net to get a copy of this message | ||
Yes that works.....me newbie php skills falling down again...;0)
-----Original Message-----
From: Wee Keat (VisualDensity] [mailto:weekeat@visualdensity.com]
Sent: Tuesday, January 07, 2003 10:25 AM
To: Bruce Levick
Subject: Re: [PHP] mmmmm SELECT
>####################################################
>$query_retrievetasks = "SELECT * FROM tasks, users WHERE tasks.UID =
>users.User_id AND active="yes" ORDER by tasks.ID";
>####################################################
>Can't understand this, is it just something simple I am missing??
Try using single quote instead of double quote... like this
$query_retrievetasks = "SELECT * FROM tasks, users WHERE tasks.UID =
users.User_id AND active='yes' ORDER by tasks.ID";
Not too sure myself... but it's just a wild guess...
Hope this helps!
Yours,
Wee Keat
------------------------------------------------------------
"Good timber does not grow with ease; the stronger the wind, the
stronger the trees."