magebash Posted June 30, 2008 Share Posted June 30, 2008 to include multiple functions such as stripslashes and striptags, with mysql_real_escape_string, must you include them like $_POST[variable]=mysql_real_escape_string(stripslashes(striptags($_post[variable]))); or can you just include them seperately on the same variable? Okay, well thanks for your answers. Link to comment https://forums.phpfreaks.com/topic/112533-solved-the-correct-way/ Share on other sites More sharing options...
thatsgreat2345 Posted June 30, 2008 Share Posted June 30, 2008 Be sure you capitalize $_POST as in the inner section you do not have it capitalized. Link to comment https://forums.phpfreaks.com/topic/112533-solved-the-correct-way/#findComment-577819 Share on other sites More sharing options...
aeonsky Posted June 30, 2008 Share Posted June 30, 2008 That is the easier way, but doing them separately one by one will work; Link to comment https://forums.phpfreaks.com/topic/112533-solved-the-correct-way/#findComment-577820 Share on other sites More sharing options...
magebash Posted June 30, 2008 Author Share Posted June 30, 2008 ok, thanks for the quick response. I appreciate it. That was just a mistake where I didn't capitalize. Link to comment https://forums.phpfreaks.com/topic/112533-solved-the-correct-way/#findComment-577821 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.