Re: select statement with variables ???
| From: | Robin Vickery | Date: | Wed, 21 Dec 2005 09:42:09 +0000 |
| Subject: | Re: select statement with variables ??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-227765@lists.php.net to get a copy of this message | ||
On 12/21/05, Anasta <neretlis@westnet.com.au> wrote:
> Can someone tell me why this select is wrong please---ive tried everything.
> the $cat is the tablename .
You've tried *everything* ?
Why do you think it's "wrong"? Did you get an error message of some kind?
What do you see if you echo $query? Are the values of $cat and $id
what you expected?
-robin