On Wed, Dec 29, 2010 at 04:57, Hajo Locke wrote:
> Hello,
>
> i want to talk from php to different mysql-servers with different versions.
> is it a recommend way to compile php always against newest libmysqlclient or
> not so important?
You should use the newest stable version so you can take
Dear List -
Thank you for all your help in the past.
Here is another one
I would like to have a regex which would validate that a telephone
number is in the format xxx-xxx-.
Thanks.
Ethan
MySQL 5.1 PHP 5 Linux [Debian (sid)]
--
PHP Database Mailing List (http://www.php.net/
I suggest you try javascript.
Richard L. Buskirk
-Original Message-
From: Ethan Rosenberg [mailto:eth...@earthlink.net]
Sent: Wednesday, December 29, 2010 7:12 PM
To: php-db-lists.php.net; php-gene...@lists.php.net
Subject: [PHP] Regex for telephone numbers
Dear List -
Thank you for
On 30/12/2010, at 1:12 PM, Ethan Rosenberg wrote:
> Dear List -
>
> Thank you for all your help in the past.
>
> Here is another one
>
> I would like to have a regex which would validate that a telephone number is
> in the format xxx-xxx-.
>
> Thanks.
>
> Ethan
>
> MySQL 5.1 PHP 5
Also remove your stupid Email filter.
If you need a email filter, you should not be on this list or learn to setup
rules one.
Richard L. Buskirk
-Original Message-
From: Ethan Rosenberg [mailto:eth...@earthlink.net]
Sent: Wednesday, December 29, 2010 7:12 PM
To: php-db-lists.php.net; p
On Dec 29, 2010, at 7:12 PM, Ethan Rosenberg wrote:
> Dear List -
>
> Thank you for all your help in the past.
>
> Here is another one
>
> I would like to have a regex which would validate that a telephone number is
> in the format xxx-xxx-.
>
> Thanks.
>
> Ethan
>
> MySQL 5.1
Hi Ethan,
Could you do a string compare and check at certain characters for a
dash?
IE:
check the second character to see if it is a dash for 1-800...
if that is not a dash, check the fourth character for a dash, 469-9...
then the other places where dashes would be based on those two
charact
You could also help them out a little with something like..
$phone = str_replace("(", "", $phone);
$phone = str_replace(")", "-", $phone);
HTH,
Karl
On Dec 29, 2010, at 6:27 PM, Josh Kehn wrote:
On Dec 29, 2010, at 7:12 PM, Ethan Rosenberg
wrote:
Dear List -
Thank you for all your
On Wed, Dec 29, 2010 at 19:12, Ethan Rosenberg wrote:
> Dear List -
>
> Thank you for all your help in the past.
>
> Here is another one
>
> I would like to have a regex which would validate that a telephone number
> is in the format xxx-xxx-.
Congrats. People in Hell would like ice