when i fetch data from mysql and that data contain
character like ( ' ) in example O'neal , D'Amato etc, then
i echo it as value of textbox ,php will just display it O And D
instead o'neal and D'amato
i guess it happen because i'm already using character (') for echo the html code with php, like this
echo "<input type='text' name='user' size='15' value='$row [user]'>";
and then i try to discard the (') character, like this:
echo "<input type=text name=user size=15 value=$row[user]>";
but the problem still there, the text box value only display O and D
this problem is not happen if the word not contain the (') character
plz help me to correct my problem
any suggestion will be appreciated
thank you