谢谢!
可是我有的代码:
$result_rs="select * from wjb" ;
$conn_rs=odbc_connect($dns,$user,$password);
$result_id=odbc_do($conn_rs,$result_rs);
$i=0;
while(odbc_fetch_row($result_id))
{ $xh=odbc_result($result_id,1);
$cyhm=odbc_result($result_id,2);
$i++;
?>
<table>
<tr>
<td width="50%"><?php echo "$xh" ?></td>
<td width="50%"><a href="<?php echo "$cyhm" ?>"><?php echo "$cyhm" ?></a></td>
</tr>
</table><?php
}
结果什么都没有,而WJB表中是有很多东西的,若将WJB改为没有TEXT字段的时候可以的,请高手指教!
可是我有的代码:
$result_rs="select * from wjb" ;
$conn_rs=odbc_connect($dns,$user,$password);
$result_id=odbc_do($conn_rs,$result_rs);
$i=0;
while(odbc_fetch_row($result_id))
{ $xh=odbc_result($result_id,1);
$cyhm=odbc_result($result_id,2);
$i++;
?>
<table>
<tr>
<td width="50%"><?php echo "$xh" ?></td>
<td width="50%"><a href="<?php echo "$cyhm" ?>"><?php echo "$cyhm" ?></a></td>
</tr>
</table><?php
}
结果什么都没有,而WJB表中是有很多东西的,若将WJB改为没有TEXT字段的时候可以的,请高手指教!
可是我有的代码:
$result_rs="select * from wjb" ;
$conn_rs=odbc_connect($dns,$user,$password);
$result_id=odbc_do($conn_rs,$result_rs);
$i=0;
while(odbc_fetch_row($result_id))
{ $xh=odbc_result($result_id,1);
$cyhm=odbc_result($result_id,2);
$i++;
?>
<table>
<tr>
<td width="50%"><?php echo "$xh" ?></td>
<td width="50%"><a href="<?php echo "$cyhm" ?>"><?php echo "$cyhm" ?></a></td>
</tr>
</table><?php
}
结果什么都没有,而WJB表中是有很多东西的,若将WJB改为没有TEXT字段的时候可以的,请高手指教!