unexpected T_VARIABLE in /home2/swhisa/public_html/suggestion/sugadddb.php on line 8
My code is the following and I get the error message above. Please help
[code=php]
<?php
ob_start();
include ('../common/connecttodb.php ');
echo "Connection Successful!";
mysql_query ('INSERT INTO `swhisa_swhisad b`.`tblsug` SET
2ale = '$HTTP_GET_VARS['txtsuggest']' ');
header('Locatio n:../index.php');
ob_end_flush();
?>
[/code]
since I am new on this forum, you can send me your answers through my email too: <email removed>
My code is the following and I get the error message above. Please help
[code=php]
<?php
ob_start();
include ('../common/connecttodb.php ');
echo "Connection Successful!";
mysql_query ('INSERT INTO `swhisa_swhisad b`.`tblsug` SET
2ale = '$HTTP_GET_VARS['txtsuggest']' ');
header('Locatio n:../index.php');
ob_end_flush();
?>
[/code]
since I am new on this forum, you can send me your answers through my email too: <email removed>
Comment