This code don't accept name submitted with post method
$clean['name'] = @mysql_real_escape_string(htmlentities(stripslashes($_POST['name'])));
This one accepts it
$clean['name'] = htmlentities(stripslashes($_POST['name']));
So i assumed problem is with
@mysql_real_escape_string();
Can someone explain what's wrong?