[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.
2 posts
Page 1 of 1
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
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
im on my fiddly tablet so cant type out anything lengthy.
i did find this which i hope will be useful
https://www.quora.com/How-do-I-pass-a-J ... ternal-php
hope it helps
i did find this which i hope will be useful
https://www.quora.com/How-do-I-pass-a-J ... ternal-php
hope it helps
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
2 posts
Page 1 of 1
Copyright Information
Copyright © SplickerSnap.com 2020