摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace study{ public class Program { /// <summary> /// ref关键字可以让一个值类型的输入按引用传递 /// </summary> private static void refFunction(int x,ref int a) { ... 阅读全文
posted @ 2013-01-04 18:01 曾是土木人 阅读(760) 评论(0) 推荐(0)
摘要: 我直接写上操作步骤吧,看下思路,相信大家也会了第一步:在includes/lib_goods.php里面构建自定义函数/** * 获取最近评论 * * @return array */function get_latest_comment($limit_num){ $sql = "SELECT c.content,c.add_time,g.goods_id,g.goods_name FROM ".$GLOBALS['ecs']->table('comment')." AS c LEFT JOIN ".$GLOBALS 阅读全文
posted @ 2013-01-04 17:15 曾是土木人 阅读(1178) 评论(0) 推荐(0)