Another Way To Use Mysql_real_escape_string Instead Trim(stripslashes(
another way to use mysql_real_escape_string instead trim(stripslashes(
another, way, to, use, mysql, real, escape, string, instead, trimstripslashes
Another Way To Use Mysql_real_escape_string Instead Trim(stripslashes(
Post Description: another way to use mysql_real_escape_string instead trim(stripslashes(
POST# 566
Posted On: Fri Feb 29, 2008 12:01 pm
web hosting
Topic: Another Way To Use Mysql_real_escape_string Instead Trim(stripslashes(
sometimes mysql doesn't let you insert data into your database unless its cleaned.

an good way to do this is with the function: mysql_real_escape_string()

example: mysql_real_escape_string($_POST['somedata'])


but its better to use this instead:
trim(stripslashes($_POST['somedata']))


No Repies
(0) Comments for Another Way To Use Mysql_real_escape_string Instead Trim(stripslashes(

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload