Menu
Im using ajax to store some html code in a db using php. If the html that i store in the database contains a # (hash) character, everything after (including the hash) is not stored – as if the hash is interpreted as a comment.
As way of background, the html code to be stored is generated by tinyMCE, so whenever there is “…style=’color:#fff;’…” for example, everything after the hash wont be stored. ARggh.
The db input is mysql_real_escape_string’d. Any ideas?