i have one form, when user key in the symbol ', my program will change this symbol to '', i don't know?
someone can give me suggestion??
thanks
about the symbol '
Moderator: General Moderators
Run stripslashes() on it.
Code: Select all
<?php
$input ="I don''t know";
$input = stripslashes($input);
echo $input; // OUTPUT: I don't know
?>another problem
but i cannot save the data to database?
why
why