whereOr('name',$u['name'])->whereOr('nickname',$u['name'])->find(); $id = $user['id']; return redirect('/index/u/'.$id.'.html'); } }