delete.php
来自「SetCursor CWnd LoadCursor DestroyWindow 」· PHP 代码 · 共 30 行
PHP
30 行
<?
function delete($table,$id)
{
global $conn;
$i=0;
$temp="";
while(isset($id[$i]))
{ $temp.=$id[$i].",";
$i++;
}
$sql="delete from ".$table." where id in (".$temp.")";
odbc_exec($conn,$sql);
}
function modefiy($table,$id)
{
global $conn;
$i=0;
$temp="";
while(isset($id[$i]))
{ $temp.=$id[$i].",";
$i++;
}
$sql="select * from ".$table." where id in (".$temp.") order by id desc";
return(odbc_exec($conn,$sql));
}
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?