Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. $user = new User();
  2. $user->user_name = $input['user_name'];
  3. $user->email = $input['email'];
  4. $user->password = $input['password'];
  5. $user->phone = $input['phone'];
  6. $user->mobile = $input['mobile'];
  7. $user->address = $input['address'];
  8. $user->save();
  9.  
  10. $data['count'] = DB::select("SELECT COUNT(*) AS user_count FROM users WHERE notification='1'");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement