$sqltr1=Mysql_query("select*from uc_applications where name=’".$sqlname."",$conn);是这样的,name在表中是varchar类型,字符串。所以查询用到单引号‘
$sqltr1=Mysql_query("select*from uc_applications where name="`.$sqlname.`"",$conn); 改为 $sqltr1=Mysql_query("select * from uc_applications where name='".$sqlname"'",$conn);
`这东西不是单引号吧,单引号是’
`这个是~下面那个,你弄错了