Ok. I found the problem. When the htmltext contains the simple '
like <font size='4' > and an update sql string is build in the php script
like $sql="update table set html='" . $htmtext."' where id=1111"
it must be replaced to " like <font size="4" >
Ok. I found the problem. When the htmltext contains the simple '
like <font size='4' > and an update sql string is build in the php script
like $sql="update table set html='" . $htmtext."' where id=1111"
it must be replaced to " like <font size="4" >
I really hope you are in total control of what makes up $htmtext or you're setting yourself up for some major SQL injection issues. You may want to investigate parameterized queries in PHP.