Hi all:
I'm struggling to get this to work in PHP:
PHP Code:
$sql "INSERT INTO data (date, yname, ymail, cpname, ctname, email, ctphone, msg_type, session, session_date, notes)";
        
$sql .="VALUES(NOW(),'$yname','$ymail','$cpname',','$ctname','$email','$ctphone','$type','$session','$date','$notes')";
        
$result=mysql_query($sql$cid) or die(mysql_error()); 
I'm just getting - check your syntax.
What am I doing wrong?