how to seperate the numbers in $_POST["num"] textbox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ehcy
    New Member
    • Oct 2007
    • 22

    how to seperate the numbers in $_POST["num"] textbox

    i want to seperate the numbers i will input in textbox to declare it each number but i don't know how.. plz help me..

    example..

    i will input..

    5 3 6 4 8 9

    and i will declare each number as..

    5 is higher than 3, 3 is lower than 5

    tnx!!!
  • MarkoKlacar
    Recognized Expert Contributor
    • Aug 2007
    • 296

    #2
    Hi,

    you can start by looking at the string tokenizer and the function explode.
    Start there and you will solve your problem.

    Cheers
    Last edited by pbmods; Oct 22 '07, 12:08 PM. Reason: Changed se.php.net to php.net in links.

    Comment

    Working...