我试图在问询中申请电话,我也这样做:
$sql = "SELECT id, Title, images, recdate, item AS type FROM ads_list WHERE to_days(now())<=(to_days(recdate)+14)";
www.un.org/Depts/DGACM/index_spanish.htm I ve Trial:
1. $sql = "SELECT id, Title, images, recdate, item AS type COUNT(*) FROM ads_list WHERE to_days(now())<=(to_days(recdate)+14)";
2. $sql = "SELECT COUNT(*) id, Title, images, recdate, item AS type FROM ads_list WHERE to_days(now())<=(to_days(recdate)+14)";
3. $sql = "SELECT COUNT(id), Title, images, recdate, item AS type FROM ads_list WHERE to_days(now())<=(to_days(recdate)+14)";
4. $sql = "SELECT id, Title, images, recdate, item AS type FROM ads_list WHERE to_days(now())<=(to_days(recdate)+14) COUNT(*)";
我做了什么错误?