For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > October 2007 > RE: [PHP-DB] php maximum characters in text field









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE: [PHP-DB] php maximum characters in text field
Instruct ICC

2007-10-17, 6:59 pm


> Does anyone know how to look for a "Curly quote" or "typographer's quotat=

ion mark". They are being submitted on our form under customer description.=
I have created a function that replaces a regular straight quotation mark =
($title =3D 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 functio=
n?

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

________________________________________
_________________________
P-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=3DTXT_TAGHM&loc=3Dus=
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com