Here is the code:Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in c:\program files\apache group\apache\storegroup\sg_forum\joint_venture_contract.php on line 447
Code: Select all
$sql = mysql_query("INSERT INTO venture_contract (user_id_1, month1, month2, month3, month4, month5, month6, month7, day1, day2, day3, day4, day5, day6, day7, year1, year2, year3, year4, year5, year6, year7, venture_id, vdesc, initial1, initial2, initia3, initial4, initial5, initial6, initial7, initial8, witness, esig1, esig2, esig3, esig4, notes, post_date)
**LINE 447*** VALUES('$user_id', '".$_POST['month1']."', '".$_POST['month2']."', '".$_POST['month3']."', '".$_POST['month4']."', '".$_POST['month5']."', '".$_POST['month6']."', '".$_POST['month7']."', '".$_POST['day1']."', '".$_POST['day2']."', '".$_POST['day3']."', '".$_POST['day4']."', '".$_POST['day5']."', '".$_POST['day6']."', '".$_POST['day7']."', '".$_POST['year1']."', '".$_POST['year2']."', '".$_POST['year3']."', '".$_POST['year4']."', '".$_POST['year5']."', '".$_POST['year6']."', '".$_POST['year7']."', '".$_POST['venture_id']."', '".$_POST['vdesc']."', '".$_POST['initial1']."', '".$_POST['initial2']."', '".$_POST['initial3']."', '".$_POST['initial4']."', '".$_POST['initial5']."', '".$_POST['initial6']."', '".$_POST['initial7']."', '".$_POST['initial8']."', '".$_POST['witness']."', '".$_POST['esig1']."', '".$_POST['esig2']."', '".$_POST['esig3']."', '".$_POST['esig4']."', '".$_POST['notes']."', '$post_date')") or die (mysql_error());
if(!$sql){
echo 'There has been an error creating your Venture Contract. Please contact the <a href="mailto:webmaster@storegroup.org">webmaster</a>.';
} else {
echo '<center><br><span class="genmed"><font size="1" color="red"><b>You have successfully Created a Venture Contract!</b></font></span><br></center>';
include($phpbb_root_path . 'venture/venture_html2.htm');
}