Re: Re: parse error newbie :)
| From: | Caleb Carvalho | Date: | Fri, 28 Sep 2001 16:39:28 +0000 |
| Subject: | Re: Re: parse error newbie :) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-69195@lists.php.net to get a copy of this message | ||
Hi Justin thanks,
But for some reason the data is no been added to sybase,
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
From: "Jusin Garrett" <usjgarrett@byu.edu> To: php-general@lists.php.net Subject: [PHP] Re: parse error newbie :) Date: Fri, 28 Sep 2001 08:18:41 -0700 $sybase_query="INSERT into program VALUES(",'$add')"; Your quotes aren't in the right place. Try, $sysbase_query = "INSERT into program VALUES (, '$add')"; -- Justin Garrett "Caleb Carvalho" <havanero@hotmail.com> wrote in message news:F59h6BYVKBLEBwywzWE0000d9c7@hotmail.com... Hi guys, I am trying to add data to table called program am getting parse error line 14 which is this one $sybase_query="INSERT into program VALUES(",'$add')"; what am i doing wrong? the full code is: file://if txt field wasn't blank enter data if ($add) { file://insert txt to db $sybase_query="INSERT into program VALUES(",'$add')"; $result=sybase_query($sybase_query); 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_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp