am having problem with my apostrophe sign (') in my form field. whenever an apostrophe is inserted in my form (eg can't, don't etc) it will be sent or echoed or store in my database as can/'t or don/'t. what can i do to make it appear the normal way?
regards,
apostrophe problem in my form field
Moderator: General Moderators
Re: apostrophe problem in my form field
It seems you're using the url encode/decode function. that will add the "/"
Re: apostrophe problem in my form field
so waht can i do so that / will not be added again?
Re: apostrophe problem in my form field
Well look in your code, are you using the url encode function?
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: apostrophe problem in my form field
viewtopic.php?f=1&t=118802&hilit=+get_m ... pc#p616117adsegzy wrote:am having problem with my apostrophe sign (') in my form field. whenever an apostrophe is inserted in my form (eg can't, don't etc) it will be sent or echoed or store in my database as can/'t or don/'t. what can i do to make it appear the normal way?
regards,
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.