is there a function to add forward slashes before " inverted commas in a string

Posted by Umair on Stack Overflow See other posts from Stack Overflow or by Umair
Published on 2010-03-09T07:43:59Z Indexed on 2010/03/09 7:51 UTC
Read the original article Hit count: 318

Filed under:
|

I am using PHP, i want to display a string which comes as title of a post, in a textbox as value. if this title has inverted commas then the string value tag of input field terminates on that quote. now as there is an add slash function to add back slashes, is there a similar function to add forward slashes ? but just before quotes, and not any other character

© Stack Overflow or respective owner

Related posts about php

Related posts about input