Suggestion only:  Try printing $sql on your web page and copy it to mysql
prompt and see what error you get, if any.


BTW:  If you use single quotes, you don't need backslashes but personal
choice I suppose.

----- Original Message -----
From: "maxx" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 28, 2001 20:06
Subject: Please help. MySQL show WARNING.


> Hello.
>   I have installed from ports on FreeBSD 4.2 mysql323-server
>   It's working, but when I make mysql_query from php-file:
>
>   $sql="INSERT INTO guest (name,city,mail,text) VALUES
>        (\"$name\",\"$city\",\"$mail\",\"$text\")";
>   mysql_query($sql);
>
>   In brother window I have Warning from MySQL:
>
> Warning: MySQL: Unable to save result set in
/www/data/ukrsport/for/setup.php on line 141
>
>   In line 141 I have "mysql_query($sql);"
>   But all information saved, and then I can use this information
>   correctly.
>
>   In short: information is saved correctly, but MySQL shows WARNING?
> Thank for answer.
>  maxx                          mailto:[EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to