Date: 02/04/03
- Next message: Uttam: "[PHP-WIN] RE: script not allowing login after generating new password"
- Previous message: Nick H. -- Technical Support Engineer: "Re: [PHP-WIN] Re: PHP .Net and a boat load of questions !!!"
- Next in thread: Martin Ramsch: "[PHP-WIN] Re: Difficult String/number fomatation plz hlp!"
- Reply: Martin Ramsch: "[PHP-WIN] Re: Difficult String/number fomatation plz hlp!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi!
I have a textfield wich allows any number of integers seperated with " ",
"," or "-"...
I need this input to be formated in two steps:
First into a sequence of numbers into an array, lowest first... Second to
the correct form of the initial input...
Example:
User input: "1,3, 3-6, 8" (string)
First step: 1,3,4,5,6,8 (array)
second step: "1,3-6,8" (string)
please help me with this one! I don't mind using ereg-functions though I'm
not good at it myself...
. bobo . www.elstudion.com . www.elstudion.com/bobo .
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Uttam: "[PHP-WIN] RE: script not allowing login after generating new password"
- Previous message: Nick H. -- Technical Support Engineer: "Re: [PHP-WIN] Re: PHP .Net and a boat load of questions !!!"
- Next in thread: Martin Ramsch: "[PHP-WIN] Re: Difficult String/number fomatation plz hlp!"
- Reply: Martin Ramsch: "[PHP-WIN] Re: Difficult String/number fomatation plz hlp!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

