In my opinion the easest way to solve your problem is to use javascript or a framework like jquery.
$('button').click(function() {
$('form').append('<input type="text" ... />');
});
More Related Contents:
- html graphs from database [closed]
- How and where to put Jquery into a fully PHP page?
- How print in Jquery / Datatables [closed]
- Is the following code valid? [closed]
- Ajax Upload image
- dynamic drop down box?
- Form inside of $.load not posting correctly
- HTML – Change\Update page contents without refreshing\reloading the page
- First drop down menu to auto change the options of a second dropdown
- jQuery AJAX form using mail() PHP script sends email, but POST data from HTML form is undefined
- How can we open a link in private browsing mode
- How to preview an image before and after upload?
- jquery using ajax to send data and save in php [duplicate]
- How do I return a proper success/error message for JQuery .ajax() using PHP?
- Get variable from PHP file using JQuery/AJAX
- Sending HTML Code Through JSON
- Javascript function post and call php script
- How to add anchor tag to a URL from text input
- Multiple javascript/css files: best practices?
- jQuery Multiple Forms Submit
- saving checkbox state on reload
- jQuery Mobile: Sending data from one page to the another
- Parse error: syntax error, unexpected T_STRING in C:\wamp\www\b_php\project\login_save.php on line 14 [closed]
- I want to use jquery nested sortable plugin with drag and drop in codeigniter using mysqli
- How to access PHP variables in JavaScript or jQuery rather than [duplicate]
- Send value of submit button when form gets posted
- Using AJAX to pass variable to PHP and retrieve those using AJAX again
- Scroll bar for Datalist in HTML5
- Removing black borders 4:3 on youtube thumbnails
- Get the last modified date of a remote file