I have a <textarea ...> </textarea> tag in a form.

The user inputs the following (and submits):

Don't! I just used an apostraphe.

The php script creates a pdf and prints the following to the pdf page:
pdf_show_xy($pdf, "$str", 10, 10);

Don\'t! I just used an apostraphe.

I've tried stripcslash() and stripslashes()... 
Niether does the trick... What am I missing?

Thanks in advance,
RDB

Reply via email to