<?
include_once("inc/auth.php");
include_once("general/yunup/sql.php");
include_once ("inc/utility_sms1.php");
//select hzcode,hzflbh,hzflchina from hzfamx(nolock) where hzcode='sp_init' and (hzflbh like '%' or hzflchina like '%') and hzflbh like 'X%' order by hzflbh
?>
<html>
<?
$sql = "select hzcode,hzflbh,hzflchina from hzfamx(nolock) where hzcode='sp_init' and (hzflbh like '%' or hzflchina like '%') and hzflbh like 'X%' order by hzflbh";
$result = mssql_query($sql);
echo("$query");
?>
<script Language="JavaScript">
var parent_window = parent.dialogArguments;
function add_customer(hzflbh,hzflchina)
{
parent_window.form1.hzflchina.value=hzflchina;
parent_window.form1.hzflbh.value=hzflbh;
parent.close();
}
</script>
<head>
<title>选择</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" onMouseover="borderize_on(event)" onMouseout="borderize_off(event)" onclick="borderize_on1(event)" topmargin="5">
<table border="1" cellspacing="0" width="95%" class="small" cellpadding="3" bordercolorlight="#000000" bordercolordark="#FFFFFF" align="center">
<tr class="TableControl" align="center"><td> 分类编号</td><td>分类名称</td></tr>
<?
while($row=mssql_fetch_array($result))
{
?>
<tr class="Tabledata" >
<td class="menulines" align="center" onClick="javascript:add_customer('<?=$hzflbh?>','<?=$hzflchina?>'')" style="cursor:hand"><?=$row['hzflbh']?></a></td>
<td class="menulines" align="center" onClick="javascript:add_customer('<?=$hzflbh?>','<?=$hzflchina?>'')" style="cursor:hand"><?=$row['hzflchina']?></a></td></tr>
<?
}
?>
</table>
</body>
</html>
问题是:在输出的时候,没有内容?
include_once("inc/auth.php");
include_once("general/yunup/sql.php");
include_once ("inc/utility_sms1.php");
//select hzcode,hzflbh,hzflchina from hzfamx(nolock) where hzcode='sp_init' and (hzflbh like '%' or hzflchina like '%') and hzflbh like 'X%' order by hzflbh
?>
<html>
<?
$sql = "select hzcode,hzflbh,hzflchina from hzfamx(nolock) where hzcode='sp_init' and (hzflbh like '%' or hzflchina like '%') and hzflbh like 'X%' order by hzflbh";
$result = mssql_query($sql);
echo("$query");
?>
<script Language="JavaScript">
var parent_window = parent.dialogArguments;
function add_customer(hzflbh,hzflchina)
{
parent_window.form1.hzflchina.value=hzflchina;
parent_window.form1.hzflbh.value=hzflbh;
parent.close();
}
</script>
<head>
<title>选择</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" onMouseover="borderize_on(event)" onMouseout="borderize_off(event)" onclick="borderize_on1(event)" topmargin="5">
<table border="1" cellspacing="0" width="95%" class="small" cellpadding="3" bordercolorlight="#000000" bordercolordark="#FFFFFF" align="center">
<tr class="TableControl" align="center"><td> 分类编号</td><td>分类名称</td></tr>
<?
while($row=mssql_fetch_array($result))
{
?>
<tr class="Tabledata" >
<td class="menulines" align="center" onClick="javascript:add_customer('<?=$hzflbh?>','<?=$hzflchina?>'')" style="cursor:hand"><?=$row['hzflbh']?></a></td>
<td class="menulines" align="center" onClick="javascript:add_customer('<?=$hzflbh?>','<?=$hzflchina?>'')" style="cursor:hand"><?=$row['hzflchina']?></a></td></tr>
<?
}
?>
</table>
</body>
</html>
问题是:在输出的时候,没有内容?

