I have an input field in a html form with PHP scripting
If someone enters the words "australia's day"
I store "australia\'s day" in my SQL table
I use the following script to substitute spaces with a dash
where $NewsTitle = "australia\'s day"
gives me the following: australia---'s-day
what I want is: australia's-day
can you help please