php3-list | 199908
Date: 08/31/99
- Next message: Tarko Tikan: "Re: [PHP3] How to treat with single quote?"
- Previous message: PinkeshP <email protected>: "Re: [PHP3] Multiple selections in <SELECT>"
- Next in thread: Tarko Tikan: "Re: [PHP3] How to treat with single quote?"
- Maybe reply: Tarko Tikan: "Re: [PHP3] How to treat with single quote?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Buddies:
I have a emergency problem with single quote, please give me some
advice.
After input text with single quote in a input text box or textarea,(e.g.
1990's picture) after the text submit;
1. in the next page, the single quote will show as \', no ' as it is
inputted in the front page; I want to use str_replace to treat with this,
but is there any more good idea?
2. if want to submit to mysql database, since in <? $query="insert into
fieldname1 values ('$fieldname1')"; ?>, there is already single quote in the
$fieldname1, so it can't input into the mysql database, I try \' to instead
', it still not work.
How can I do?
ThanX in advace!
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Tarko Tikan: "Re: [PHP3] How to treat with single quote?"
- Previous message: PinkeshP <email protected>: "Re: [PHP3] Multiple selections in <SELECT>"
- Next in thread: Tarko Tikan: "Re: [PHP3] How to treat with single quote?"
- Maybe reply: Tarko Tikan: "Re: [PHP3] How to treat with single quote?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

