Re: Warning: Sybase message: Incorrect syntax near 't'.
| From: | Papp Gyozo | Date: | Mon, 01 Oct 2001 13:55:15 +0000 |
| Subject: | Re: Warning: Sybase message: Incorrect syntax near 't'. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69463@lists.php.net to get a copy of this message | ||
Hi,
I suggest to you:
var_dump($sybase_query);
It may help you to make wellformed query-string.
----- Original Message -----
From: Caleb Carvalho <havanero@hotmail.com>
To: <php-general@lists.php.net>
Sent: Monday, October 01, 2001 11:04 AM
Subject: [PHP] Warning: Sybase message: Incorrect syntax near 't'.
> Hi am trying to add data from html form, and it seems like the line 14 in
> my script,
>
> $sybase_query="INSERT into problem
>
> VALUES('$product','$pro_title','$description','$solution')";
> $sybase_result=sybase_query($sybase_query);
>
>
> Warning: Sybase message: Incorrect syntax near 't'. (severity 15) in
> /var/www/html/process.php on line 14
>
> Warning: Sybase message: Unclosed quote before the character string ')'.
> (severity 15) in /var/www/html/process.php on line 14
>
> when trying to insert the following data
>
>
> Product :Test Director
>
> Problem Title : Doesn\'t work
>
> Description: I dont knw why
>
> Solution : dondd
>
>
>
>
>
> Caleb Carvalho
> Application Engineer
> LoadRunner/APM
> --------------------------------------------------------------------------
---------------
> Enterprise Testing and Performance Management Solutions
> --------------------------------------------------------------------------
---------------
> Mercury Interactive
> 410 Frimley Business Park
> Frimley, Surrey. GU16 7ST
> United Kingdom
> Telephone : +44 (0)1276 808300
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>