Re: [PHP] excluding parenthesis, space and dashes from phone number

2007-11-30 Thread afan pasalic
Jochem Maas wrote: > afan pasalic wrote: >> hi, >> I store phone number in mysql as integer, e.g. (123) 456-7890 is stored >> as 1234567890. >> though, in search form they usually type in a phone number with >> parenthesis/space/dashes. I have to extract numbers before I search >> through mysql.

Re: [PHP] excluding parenthesis, space and dashes from phone number

2007-11-30 Thread Zoltán Németh
2007. 11. 30, péntek keltezéssel 08.44-kor afan pasalic ezt írta: > hi, > I store phone number in mysql as integer, e.g. (123) 456-7890 is stored > as 1234567890. > though, in search form they usually type in a phone number with > parenthesis/space/dashes. I have to extract numbers before I search

Re: [PHP] excluding parenthesis, space and dashes from phone number

2007-11-30 Thread Jochem Maas
afan pasalic wrote: > hi, > I store phone number in mysql as integer, e.g. (123) 456-7890 is stored > as 1234567890. > though, in search form they usually type in a phone number with > parenthesis/space/dashes. I have to extract numbers before I search > through mysql. > > currently, I use eregi_r

Re: [PHP] excluding parenthesis, space and dashes from phone number

2007-11-30 Thread TG
php-general Date: Fri, 30 Nov 2007 08:44:38 -0500 Subject: [PHP] excluding parenthesis, space and dashes from phone number > hi, > I store phone number in mysql as integer, e.g. (123) 456-7890 is stored > as 1234567890. > though, in search form they usually type in a phone number with

[PHP] excluding parenthesis, space and dashes from phone number

2007-11-30 Thread afan pasalic
hi, I store phone number in mysql as integer, e.g. (123) 456-7890 is stored as 1234567890. though, in search form they usually type in a phone number with parenthesis/space/dashes. I have to extract numbers before I search through mysql. currently, I use eregi_replace() function, several times, to