Hi guys,,,

I a have a form where user input thier details.
That input will be stored in the db.
So i have this security buffer for the post values...
Is this secure r not, if not how to make it more secure.
PHP Code:
$name=mysql_real_escape_string(htmlentities($_POST['nmanme'])); 
Thanks.