How do I include multiple rows in a table from a single textarea form? Need

  • Thread starter Thread starter linkbeni
  • Start date Start date
L

linkbeni

Guest
the php code!? As stated above, I desperately need the code for inserting multiple rows into a database table from a single textarea form. I want to enter a lot of images into a dynamic image gallery, and do so by adding the urls in the textarea. An example of this would be:
url1
url2
url3
I enter the above in the same textarea and when I submit the form this creates 3 rows in the table. I heard of the funcion explode, but I need the code for this, since I dont know how to apply it in a form with a textarea.

Pleaaaseeeeee help me out!
 
Back
Top