RE: Regular Expressions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



list_php_general@xxxxxxxxxxxxxxxxxx
<mailto:list_php_general@xxxxxxxxxxxxxxxxxx>
    on Friday, April 08, 2005 4:08 PM said:

> Ok that would solve my SQL statements from breaking but how about in
> the submitted form data at submit time?

Do you mean you're having this problem?

<input type="text" name=".." value="She said "Hi!"" />

?

If so, do htmlentities() to the data being displayed. That will turn the
" into &quot; which will not get the form confused.



Chris.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux