Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Need a help on PHP code

Need a help on PHP code

Scheduled Pinned Locked Moved Web Development
phphelpquestion
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kumar Arun
    wrote on last edited by
    #1

    I have a code i.e.: $dt = '01/02/1950'; $dtsplit = str_split($nr,2); please explain what is in $dtsplit[0]; $dtsplit[1]; $dtsplit[2]; Thanks, Arun Kumar

    Arun Kr

    M 1 Reply Last reply
    0
    • K Kumar Arun

      I have a code i.e.: $dt = '01/02/1950'; $dtsplit = str_split($nr,2); please explain what is in $dtsplit[0]; $dtsplit[1]; $dtsplit[2]; Thanks, Arun Kumar

      Arun Kr

      M Offline
      M Offline
      Michael Sync
      wrote on last edited by
      #2

      maybe. like that... 01 /0 2/ Ref:http://sg2.php.net/str_split

      Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)

      K M 2 Replies Last reply
      0
      • M Michael Sync

        maybe. like that... 01 /0 2/ Ref:http://sg2.php.net/str_split

        Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)

        K Offline
        K Offline
        Kumar Arun
        wrote on last edited by
        #3

        Hi again, Thanks, will you please tell me the length of $dtsplit [array size]. I have a code i.e.: $dt = '01/02/1950'; $dtsplit = str_split($nr,2); please explain what is in Thanks once again Arun Kumar

        Arun Kr

        G 1 Reply Last reply
        0
        • K Kumar Arun

          Hi again, Thanks, will you please tell me the length of $dtsplit [array size]. I have a code i.e.: $dt = '01/02/1950'; $dtsplit = str_split($nr,2); please explain what is in Thanks once again Arun Kumar

          Arun Kr

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          Why don't you just read about what the function does, instead of asking questions about the result and guessing what it's doing... http://www.w3schools.com/php/func_string_str_split.asp[^]

          --- single minded; short sighted; long gone;

          S 1 Reply Last reply
          0
          • M Michael Sync

            maybe. like that... 01 /0 2/ Ref:http://sg2.php.net/str_split

            Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)

            M Offline
            M Offline
            Michael Sync
            wrote on last edited by
            #5

            Oh. i got vote 1.... why??

            Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)

            1 Reply Last reply
            0
            • G Guffa

              Why don't you just read about what the function does, instead of asking questions about the result and guessing what it's doing... http://www.w3schools.com/php/func_string_str_split.asp[^]

              --- single minded; short sighted; long gone;

              S Offline
              S Offline
              saadani
              wrote on last edited by
              #6

              stupid joke i guess:)

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups