RE: HELP , HELP ,HELP

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

 



wangchq <mailto:wangchq@xxxxxxxxxxxxxxxxx>
    on Tuesday, March 29, 2005 4:50 PM said:

> Hi;

Hello.

> I use this regulation expression to check account(money)type, but it
> does not work.

That's "regular" expression. You were close. :P

>  if(eregi("^\$[0-9]+\,[0-9]+\.[0-9]+",$set,$account)){
> 
>                     $reg_account=$account[1]; }
> 
>          else $reg_account=-1;

Give some examples of the data you are feeding your regex so we can see
where you are going wrong.



Chris.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux