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 2 of 2
  1. #1
    Regular Coder
    Join Date
    Sep 2002
    Location
    Saskatoon SK Canada
    Posts
    174
    Thanks
    2
    Thanked 0 Times in 0 Posts

    load array from textarea data (1 per line)

    How would I load an array into php from textarea POST data? First I would build a html page with the textarea and paste in the data. Then hit submit and it would POST to my php script. I assume I would have to assign the textarea POST to a variable. Then split each instance of "\n" into the next array index. Then I would have an array with each index as each line in the textarea. I don't know the code to do this. Can somebody please give me a start?
    Colin Puttick

  • #2
    Regular Coder
    Join Date
    Sep 2002
    Location
    Saskatoon SK Canada
    Posts
    174
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Colin Puttick


  •  

    Posting Permissions

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