查看文件: settb1city1.php
大小: 752 字节
类型: application/octet-stream
<?php require_once('../Connections/BE2.php'); ?> <?php $colname_Rt1 = "-1"; if (isset($_POST['z'])) { $colname_Rt1 = (get_magic_quotes_gpc()) ? $_POST['z'] : addslashes($_POST['z']); } mysql_select_db($database_BE2, $BE2); $query_Rt1 = sprintf("select distinct(bc4) from tb2 where bc3='%s' order by ec4", $colname_Rt1); $Rt1 = mysql_query($query_Rt1, $BE2) or die(mysql_error()); $row_Rt1 = mysql_fetch_assoc($Rt1); $totalRows_Rt1 = mysql_num_rows($Rt1); echo $query_Rt1; /* ?> <option value="0" selected="selected">=====</option> <?php do { ?> <option value="<?php echo $row_Rt1['bc4']?>"><?php echo $row_Rt1['bc4']?></option> <?php } while ($row_Rt1 = mysql_fetch_assoc($Rt1)); */ mysql_free_result($Rt1); ?>
保存
取消
返回文件列表