How i can insert in database from textarea field that each line is a table in database
means I want insert in database from each line of textarea field by php
my information like this:
Name | FullName | Age
and database table:
id (auto insert),
name,
fullname,
age
thanks
i would suggest using a delimiter at the end of the line and then convert it into an array using explode(), here is what you could do.
and then you can create query like this.