J
|
Jane 8/8/2006 |
Hi, |
M
|
myway author 8/11/2006 |
Thank you. I think, this will be a very useful feature. |
M
|
myway author 12/26/2006 |
Hello, |
J
|
Jane 12/27/2006 |
Hi,
and add following code just before: <A onclick="if (!confirm('Do you really want to export records?')) return false; frmAdmin.a.value='update'; frmAdmin.submit(); return false;" href="TableName_list.htm#">export records</A>
function BeforeDelete($where) { if(@$_POST["a"]=="delete") return true; $_SESSION["where"].=$where." or "; return false; } function AfterMassDelete() { header("Location: TableName_export.php"); exit(); } function ListOnLoad() { $_SESSION["where"]=""; } function ExportOnLoad() { global $strTableName; $str = $_SESSION[$strTableName."_sql"]." where ".$_SESSION["where"]; $_SESSION[$strTableName."_sql"] = substr($str,0,strlen($str)-4); } |