Skip to content
Advertisement

Put elements from post php into an array and then in a table Mysql

I have tryed many things.. need simply to retriev values posted from another page put in array and then add the values to a table with unique name

JavaScript

then

JavaScript

Advertisement

Answer

Try something like this ($_POST is an array allready, as mentioned by @EL_Vanja):

JavaScript

will printout:

JavaScript

And for the query part:

JavaScript

And the query will look like:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement