i am getting this
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ‘]’ on line 23
here is some of php:
if(isset($_POST[s1]))
{
$MyExp = mktime(0,0,0,date(m) + 1, date(d), date(Y));
$q1 = “insert into agents set
username = ‘$_POST[NewUsername]’,
AccountType = ‘$_POST[AccountType]’,
type=’$_POST[type]’,
password = ‘$_POST[p1]’,
FirstName = ‘$_POST[FirstName]’,
LastName = ‘$_POST[LastName]’,
resume = ‘$_POST[resume]’,
phone = ‘$_POST[phone]’,
cellular = ‘$_POST[cellular]’,
pager = ‘$_POST[pager]’,
ResumeImages = ‘$ImageStr’,
email = ‘$_POST[email]’,
RegDate = ‘$t’,
ExpDate = ‘$MyExp’,
AccountStatus = ‘active’,
offers = ‘0’ “;
mysql_query($q1);
please help – i am going crazy here