发布时间:2015-05-19 16:29:35
Eloquent 模型分页 $users = User::where('votes', '>', 100)->paginate(15); 或者 $allUsers = User::paginate(15) 页面显示代码: <div class="col-md-8 col-md-offset-2" style="margin-top: 20pt;"> <table class="table table-hover"> <tr> <th>项目ID</th> <th>项目名称</th> <th>项目描述</th> <th>.........【阅读全文】
发布时间:2015-05-07 11:09:24
在Wamp上运行php程序时总是提示没有定义过Curl_init.主要是:1.开启支持Curl_init模块。 方法一:直接在通知栏点击wamp-php-php扩展-php_curl 方法二:直接在配置文件php.ini中配置extension=php_curl.dll,去掉前边的注释。&.........【阅读全文】