|
发表于 2024-2-27 14:23
来自手机
|
显示全部楼层
https://e.anyoupin.cn/EData/1190.html
是这样吗?
drop table if exists 列名多选;
create table 列名多选 (列名,多选,checked);
drop table if exists 列名多选_stru;
create table 列名多选_stru (Field,Input,A,B,C,D,E);
insert into 列名多选_stru (Field,Input,A,B,C,D,E) values ('列名','text',null,null,null,null,null),('多选','checkbox','值1','2','3','4','5')
;
select * from 列名多选_stru;
select * from 列名多选 order by rowid desc limit 20;
xli_add_php~~
?>
<h1>online form</h2>
<?php
$frmSetup='列名多选_stru';
$tblResult="列名多选";
if(sizeof($_POST)==0){
\multiquery\g_ImportPhp('budget/formOrders');
formOrders($frmSetup);
}else{
echo 'post';
\multiquery\g_ImportPhp('budget/processOrder');
processOrder($tblResult);
}
~;
|
|