RE: [PHP] Other than substr

2002-07-04 Thread César Aracena
Thanks for all the responses. C. -Original Message- From: César Aracena [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 1:36 PM To: PHP General List Subject: [PHP] Other than substr Hi all. I need to show up some data from a DB which consist of phone numbers with

RE: [PHP] Other than substr

2002-07-03 Thread Leotta, Natalie (NCI/IMS)
What do you want it to look like in the text boxes? If you just want to take out the two parentheses, you can use strstr to get the index of the ) string to use in your substring statement. http://www.php.net/manual/en/function.strstr.php I hope this helps! -Natalie -Original

Re: [PHP] Other than substr

2002-07-03 Thread Erik Price
On Wednesday, July 3, 2002, at 12:35 PM, César Aracena wrote: I need to show up some data from a DB which consist of phone numbers with area code. They're stored like () . What is the best approach to print them into some textboxes so they can be edited? I'm using substr but