I have problems with my string because i would want that my sql string can save my information containing with or without commas, quotes and double quotes…
I have here my string. this string was the result of my php code…
The problem lies on this information “address 1, sample’s street.” because mysql would give me an error message…
My friend tells me to use mysql_real_escape_string() to solve the problem. but im not so sure if this is correct and also im not familiar of this function.
I’ve been reading this, unfortunately im having a hard time on implementing it on my query… Im a total noob at mysql and using mysql functions. Could you give me a sample code to start with?