Re: Re: Strange Query Error...
| From: | Niel Archer | Date: | Sat, 27 Nov 2010 18:39:58 +0000 |
| Subject: | Re: Re: Strange Query Error... | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47506@lists.php.net to get a copy of this message | ||
> On Nov 27, 2010, at 10:08 AM, Daniel P. Brown wrote:
>
> > one primary question: are you using the mysql_*
> > family, mysqli_* family, or another method of interfacing with MySQL?
>
> mysql_
>
> $results = mysql_query($query) or die(mysql_error());
>
> Don
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
Could you show the actual code, not just the query. The way you are
setting up the query could be affecting it. i.e. using single quotes when
assigning to a variable would not work with your query.
--
Niel Archer
niel.archer (at) blueyonder.co.uk