RE: php maximum characters in text field

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

 



> Does anyone know how to look for a "Curly quote" or "typographer's quotation mark". They are being submitted on our form under customer description. I have created a function that replaces a regular straight quotation mark ($title = str_replace("'", "", $title);), but do not know what to put in as the "look for" for the curly mark!

How do you know they are submitting ?
Can you copy  from that source, then paste it into your str_replace function?

Or since it seems to be a two-byte character (I didn't see it at asciitable.com):
Maybe you need http://php.he.net/manual/en/ref.mbstring.php
mb_ereg_replace

_________________________________________________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us
-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux