echo $sql="sqlect * from ".tname("app_tw_gift")." where uid= $space[uid];";echo $count=$_SGLOBAL['db']->num_rows($_SGLOBAL['db']->query("sqlect * from ".tname("app_tw_gift")." where uid= $space[uid]"));错误提示 
MySQL Error
Message: MySQL Query Error
SQL: sqlect * from uchome_app_tw_gift where uid= 1
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlect * from uchome_app_tw_gift where uid= 1' at line 1
Errno.: 1064输出 $count 时候的错误 请指教 ;