• [Help] HTML Table - PHP

  • If you wish to post tutorials or need help with any web programming language that isnt listed above then please post them in here.
If you wish to post tutorials or need help with any web programming language that isnt listed above then please post them in here.
 #84362  by muttley1968
 Wed Mar 14, 2018 5:22 am
Hello guys,
I Have spent the last few days racking my brain and searching google.

I Have a site i am helping a friend with for college, we have a page where a user fills in some data, then near the bottom they build a list of items.
This list is built using js and adding elements to a HTML table.

We then needed to press submit and all the data go to A php file, that runs some code there.
and this is where we got stuck.

I Came up with the bright idea to parse the table data to json each time the user adds an item.
So we have a json item called data the contains each item however we cant pass that to the PHP file.

I Did also think maybe a hidden feild in the add row part, that is an inputfeild named "Row:value" so I can just use $_POST however, When i tried this it didnt work.
could anyone offer some help please the deadline is 2 weeks and this is only one of the pages we have to do along with a HUGE af report