and recently in my new host when I submit something with an apostrophe
does that mean you changed hosting companies? it might help to explain what ashnews is, and what "my new host" means, since your link goes to a "page cannot be displayed" 🙂
what, exactly, is your question? is it:
a) why does this work/fail on a new hosting company's webservers?
b) what did I do to make this code work/fail?
c) what do single-quotes have to do with mySql?