ADD DYNAMIC FIELDS TO FORMS WITH JQUERY AND PHP - PART 1
PHPBasics
0:00 / 0:00
ADD DYNAMIC FIELDS TO FORMS WITH JQUERY AND PHP - PART 1
53 800 просмотров · 9 лет назад
PHPBasics
7,49 тыс. подписчиков
53 800 просмотров · 9 лет назад
This script is designed to allow end users to add multiple input fields in realtime so multiple entries can be made to the database in one submission. Each field is parsed into an array and handled separately. PHP, MYSQLi, JQUERY. Whether it is a bug, or working as
designed, you cannot strip tags or use real_escape_string when assigning initial POST variables, nor can you use them after parsing the array. You must strip strings as they are being used.
You can copy the top field into the fields below by double clicking the cells.