Re: [PHP-WIN] Escaping quotes in form validation

2004-12-20 Thread Chris
From your minimal details, I assume you're trying to print the value of a textbox/textarea to a webpage? You would need to use htmlentities() to escape the quotes if that's the case. Chris S.D.Price wrote: Hi can anyone help. I have a news blog system where a user can add news stories to a dat

[PHP-WIN] Escaping quotes in form validation

2004-12-20 Thread S.D.Price
Hi can anyone help. I have a news blog system where a user can add news stories to a database. As part of the data validation I indicate when the user has not entered data correctly and allow then to re-enter data in a n error prompt form However if the user has entered quotes the error prompt f