Parse error: parse error, unexpected T_VARIABLE, expecting '
Posted: Tue Sep 13, 2005 6:35 pm
Parse error: parse error, unexpected T_VARIABLE, expecting ',' or ';' in C:\Xeneo\ProceduresManual\add_edit.php on line 8
Hi Guys,
Can anyone pleae help me with this one,
I have tried alsorts but I keep getting errors.
Just can't understand it.
Thanks in advance.
Hi Guys,
Can anyone pleae help me with this one,
I have tried alsorts but I keep getting errors.
Code: Select all
<?php session_start();
include_once("connect.php");
$inpContent = $_POST['inpContent'];
$companyid1 = $_SESSION['companyid'];
$sletter = $_POST['letter'];
$title = $_POST['title'];
echo $title . $inpContent . $sletter
$insert = "INSERT INTO `procedures` (`Companyid`, `Letter`, `Title`, `Cpro`) VALUES ('$companyid1', '$sletter', '$title', '$inpContent')";
mysql_query($insert) or die(mysql_error());
?>Thanks in advance.