Bootstrap 和 PHP 文件上传
Bootstrap and PHP file upload
我正在尝试使用 Bootstrap jQuery 插件和 PHP.
提交我正在上传的图片
我的 PHP 在正常的 HTML 表单中工作正常,但是当我使用 Bootstrap 时,PHP 无声无息地失败了。
"Sorry for not uploading the code directly"
表格的嵌套是not allowed in HTML.
Every form must be enclosed within a FORM element. There can be several forms in a single document, but the FORM element can't be nested
请在此处查看 more about forms
您在 Search and Account
部分打开了一个表单标签。
此表单在接受文件输入的表单后关闭。
因此实际上存在表单嵌套。
所以在第二个窗体之前关闭第一个窗体以避免嵌套
我正在尝试使用 Bootstrap jQuery 插件和 PHP.
提交我正在上传的图片我的 PHP 在正常的 HTML 表单中工作正常,但是当我使用 Bootstrap 时,PHP 无声无息地失败了。
"Sorry for not uploading the code directly"
表格的嵌套是not allowed in HTML.
Every form must be enclosed within a FORM element. There can be several forms in a single document, but the FORM element can't be nested
请在此处查看 more about forms
您在 Search and Account
部分打开了一个表单标签。
此表单在接受文件输入的表单后关闭。
因此实际上存在表单嵌套。
所以在第二个窗体之前关闭第一个窗体以避免嵌套