提示select *,(select smusic as smusic from uchome_space where uid=1) from uchome_app_viewspace_suser where uid=1 and status=1
语法错。不知道怎么办?求解
饿 终于知道数据库版本低了
那么我想把这个语句分开来写
$sql="select smusic as smusic from ".tname('space')." where uid=$uid";
$test=IIIIIIl111II($sql);
$sql="";
$sql="select *,$test['smusic'] from ".tname('app_viewspace_suser')." where uid=$uid and status=1";
$value=IIIIIIl111II($sql);
语法没错 白屏 该如何处理 望求解
最后这样该
$sql="select smusic as smusic from ".tname('space')." where uid=$uid";
$test=IIIIIIl111II($sql);
$sql="";
$sql="select *,$test['smusic'] from ".tname('app_viewspace_suser')." where uid=$uid and status=1";
$value=IIIIIIl111II($sql);
白屏 语法应该没错了