parse error newbie :)

From: Date: Fri, 28 Sep 2001 14:17:06 +0000
Subject: parse error newbie :)
Groups: php.general 
Request: Send a blank email to php-general+get-69176@lists.php.net to get a copy of this message
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: //if txt field wasn't blank enter data if ($add) { //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

« previous php.general (#69176) next »