<?php
include "include/cmsdj.conn.php";
include "include/cmsdj.inc.php";
$id=SafeRequest("id","get");$sqlspecial="select CD_Name from ".tname('special')." where CD_ID=".$id."";
$rowspecial=$db->getrow($sqlspecial);
$key=$rowspecial['CD_Name'];
echo  $key;
?>这个是按CD_ID查询的.我想按 CD_AliasName 这栏位的英文.查询数据可以的吗?写来写去都不行..有高手帮下忙吗