【发布时间】:2014-04-21 13:45:31
【问题描述】:
$table='user';
$conditions=array(
'uname' => 'test',
'pwd' => '123'); //uname and pwd are the column names
DB::table($table)->where($conditions)->get();
在执行上述代码时显示以下错误
ErrorException
strtolower() expects parameter 1 to be string, array given
谁能帮帮我。
【问题讨论】:
标签: php mysql database frameworks laravel