?? getdelt.php
字號:
<?php include ("../inc/db.php"); include ("../inc/phpmkrfn.php"); include ('../inc/xtpl.php'); include ("../inc/pageft.php"); include ("../inc/nocache.php"); $t_rowid=$_GET[curr_row]; $t_jspath=$_GET[jspath]; $t_jsname=$_GET[jsname]; $xtpl=new XTemplate ("getdelt.html"); $t_AUTOID=$_GET['AUTOID']; if (empty($t_AUTOID)){$t_AUTOID=-1;}; $t_KUCID=$_GET['KUCID']; $conn = phpmkr_db_connect(HOST, USER, PASS, DB, PORT); $sSql ="select kuchen.*,ID,PROD01,PROD04,PROD05 from kuchen LEFT JOIN products ON kuchen.KUC01 = products.ID where kuchen.KUC01='$t_KUCID' "; $rs = phpmkr_query($sSql,$conn) or die("Failed to execute query: " . phpmkr_error() . '<br>SQL: ' . $sSql);//{JSPATH}/{JSNAME} $xtpl->assign("JSPATH",$t_jspath); $xtpl->assign("JSNAME",$t_jsname); while ($row = mysql_fetch_array($rs, MYSQL_ASSOC)) { $xtpl->assign("DATA",$row); /* assign array data */ $xtpl->assign("ROWID",$t_rowid); $xtpl->parse("main.table.row"); /* parse a row */ } $xtpl->parse("main.table"); /* parse the table */ $xtpl->parse("main"); $xtpl->out("main");?>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -