#1 redguan
$db_news = spClass("lib_news");
dump($db_news);
其中1,2是相同的,3,4是相同的。
[arrSql] => Array
(
[0] => SET NAMES UTF8
[1] => SELECT COUNT(itemid) as sp_counter FROM supe_spaceitems WHERE `subject` LIKE'%1%'
[2] => SELECT COUNT(itemid) as sp_counter FROM supe_spaceitems WHERE `subject` LIKE'%1%'
[3] => SELECT supe_spaceitems.subject,dateline,itemid,catid,uid,username FROM supe_spaceitems WHERE `subject` LIKE'%1%' ORDER BY itemid DESC LIMIT 0,10
[4] => SELECT supe_spaceitems.subject,dateline,itemid,catid,uid,username FROM supe_spaceitems WHERE `subject` LIKE'%1%' ORDER BY itemid DESC LIMIT 0,10
)
2010-04-17 11:06:15