Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Sep 2006
    Posts
    131
    Thanks
    5
    Thanked 0 Times in 0 Posts

    php parse date into seperate fields

    hello coders,

    I need help parsing a string into different sets.

    ie

    PHP Code:
    $xyz "1-5-6-10-11-15"

    and I want to put them all in separate variablesso

    $x
    [0]=1;
    $x[1]=5;
    $x[2]=6;
    $x[3]=10;
    $x[4]=11;
    $x[5]=15
    thanks for the help.

    -Tony
    ---------
    Client / Server Side Programmer II

  • #2
    teh Moderatorinator
    Join Date
    Sep 2004
    Location
    USA
    Posts
    2,472
    Thanks
    4
    Thanked 40 Times in 40 Posts

  • #3
    Regular Coder
    Join Date
    Sep 2006
    Posts
    131
    Thanks
    5
    Thanked 0 Times in 0 Posts
    thanks got it!
    ---------
    Client / Server Side Programmer II


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •