Jump to content

Filter problem with different versions


oceans

Recommended Posts

Mmarif4U,

 

where should this

"

mysql_real_escape_string

"

be placed is it just before writing to db, please guide.

 

addslashes seems opposite to stripslashes this will help me to remove (/) it is?

 

I am still willing to mod my code and put this mysql real escape

Ok lets say I have 2 variables,

 

(mysql_query("UPDATE `member` SET `Name` = '".mysql_real_escape_string($InputFromScreen[1])."',`Address` = '".mysql_real_escape_string($InputFromScreen[2])."' WHERE `EmailAddress` = '".$FromEarlierScreen[3]."'")

 

Am I right?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.