Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/65.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/visual-studio/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 使用codeigniter 3.1,jquery验证失败时的动态行数据保留_Php_Mysql_Codeigniter - Fatal编程技术网

Php 使用codeigniter 3.1,jquery验证失败时的动态行数据保留

Php 使用codeigniter 3.1,jquery验证失败时的动态行数据保留,php,mysql,codeigniter,Php,Mysql,Codeigniter,我试图在验证失败后保留5到6个字段中的数据,这些字段允许用户在codeigniter 3.1应用程序中动态添加行。我已经在使用set_value()、set_radio等,但是动态行和数据都没有保留在表单上。如果有必要的话,我将在Ubuntu 16.04 LTS上使用codeigniter 3.11,php 7.3上使用codeigniter 3.11,apache 2.6上使用mysql 5.8。我看到一些帖子谈到使用ajax来实现这一点,但我不知道如何在我的应用程序中使用它。我能在这里得到一

我试图在验证失败后保留5到6个字段中的数据,这些字段允许用户在codeigniter 3.1应用程序中动态添加行。我已经在使用set_value()、set_radio等,但是动态行和数据都没有保留在表单上。如果有必要的话,我将在Ubuntu 16.04 LTS上使用codeigniter 3.11,php 7.3上使用codeigniter 3.11,apache 2.6上使用mysql 5.8。我看到一些帖子谈到使用ajax来实现这一点,但我不知道如何在我的应用程序中使用它。我能在这里得到一些帮助吗。提前谢谢