daily pastebin goal
81%
SHARE
TWEET

Untitled

a guest Nov 20th, 2017 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $email=DB::table('users')->where('id',1)->select('e_mail')->get();
  2. dd($email);
  3.    
  4. Collection {#231 ▼
  5.   #items: array:1 [▼
  6.     0 => {#229 ▼
  7.       +"e_mail": "admin@test.net"
  8.     }
  9.   ]
  10. }
  11.    
  12. $email=DB::table('users')->where('id',1)->select('e_mail')->get();
  13. "admin@test.net"!=$email[0]
RAW Paste Data
Top