Hello All Member
I am create a web site www.ramzan.site88.net
i am create a form in in using input commend but when i am type the message in and type some save or some not save. For ex. two in inbox make when i am type this message ( ramzan is ’ chect ’ heare ) some thing when am press submit not save in mysql when i am type ( ramzan is chect heare ) is saved whey ’ ’ not save
Kako,
You can not save quotes ’ ’ ’ ’ ’ ’ ’ into a MySQL database. You need to cover them up.
You can do this by adding “SLASHES” to them and removing them when you read the info back.
Or you can use your own programming and use “str_replace()” to replace the quotes with something else.
Here is a link to the info on adding and removing slashes…
http://www.php.net/manual/en/function.addcslashes.php ( in English)
Hope that helps…