Dear All,
I would like to add a new row tex boxed into my form just like when we add column for a new table under phpmyadmin where the option of Add number of column and then press the button go when we try to structure a new table. How can I implement it in my php page that concept? Thank you.
newbie14
0
Posting Pro
Recommended Answers
Jump to PostYou need js (ajax) to do it without page load.
If you don't care about page load, you need to pass the variables via form to $_POST variable which will display new columns. Why not include your current code - see how far you've got?
Jump to PostI'd have a new table row with a button input between the data row and the submit/reset row.
You then have a js script add a duplicate row below the last data row on button click. You'll need to make the name attributes of the inputs into arrays:
Jump to PostI don't think it matters very much which one you use. The plain js is a pretty trivial solution. WHy do they insist on using rubbish HTML?
jQuery is a complete framework, but is quite small. This can be very useful if you intend to include some interactivity to …
All 11 Replies
diafol
newbie14
0
Posting Pro
diafol
newbie14
0
Posting Pro
diafol
newbie14
0
Posting Pro
diafol
newbie14
0
Posting Pro
diafol
newbie14
0
Posting Pro
diafol
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.