Slash stripping problem
| From: | Randall Barber | Date: | Thu, 08 Mar 2001 00:45:45 +0000 |
| Subject: | Slash stripping problem | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5866@lists.php.net to get a copy of this message | ||
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