i am doing connectivity of one form of my project website. and i am facing following kind of error. please can you help me. i have tried to solve. but not getting idea exactly. the error is Parse error: syntax error, unexpected ';' in C:\wamp\www\PROJECT\feed_data.php on line 15

<?PHP
            $con=mysql_connect("localhost","root","");
            if(!$con)
            {
                die('could not connect'.mysql_error());
            }
            mysql_select_db("sncl",$con);

            mysql_query("INSERT INTO feedbacktable (usertype,name,add,phone,email,comment)
            VALUES('$_POST[u_name]',
            '$_POST[name]',
            '$_POST[address]',
            $_POST[phone],
            '$_POST[email]',
            '$_POST[feedback]')";

            mysql_close($con);
?>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.