Re: Going bonkers again ...
| From: | Martin Skjöldebrand | Date: | Fri, 23 Mar 2001 21:10:02 +0000 |
| Subject: | Re: Going bonkers again ... | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7732@lists.php.net to get a copy of this message | ||
olinux wrote:
> You have to escape your ""
>
>> $query = "SELECT m_sender, m_date, m_subject FROM messages WHERE m_id =
>> '$m_id'";
>
> try this
> $query = "SELECT m_sender, m_date, m_subject FROM messages WHERE m_id =
> \"$m_id\"
> ";
No that isn't the problem.
It is valid to change quotation characters. Double quote ( " ) around
single quotes ( ' ) are OK. Nevertheless I tried your tip and got the same
result.
M.