web_master Posted June 8, 2007 Share Posted June 8, 2007 Hi what is the safe(est) mode to insert data (exmple email address) into database? Example: $query_return = mysql_query("INSERT INTO e_group (e_group_email) VALUES ('".$_POST['e_group_email]"); if(!$query_return) { echo mysql_error(); exit; } I heard about a slash (/) to put is somewhere when I want to email dont be a cached on the fly between a post and inserted into dbase - I think its good for a password too. thanx Quote Link to comment https://forums.phpfreaks.com/topic/54709-safe-mode-to-insert-data-in-database/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.