[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-general
Subject:    [PHP3] PHP3: problem with quote sign in HTML/PHP form
From:       Laurent PEAUCELLE <peaucelle () victoire ! com>
Date:       2000-03-29 3:08:18
[Download RAW message or body]

Hi,

Sorry if my question is a common one.

I have created a HTML/PHP form to feed a MySQL database
with some text. When I put the quote sign (') in a form,
the corresponding field of the database remains empty.

I use the following line to grab the form content:
  while (list($name,$value)=each($HTTP_POST_VARS)){ ...
It works for all the fields but the ones with a quote sign inside.

Any idea?

Thanks in advance,
Laurent


-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe@lists.php.net
To subscribe to the digest, e-mail: php3-digest-subscribe@lists.php.net
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin@lists.php.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic