Fetch operation using laravel
A. Method - 1 $users = DB::table('users')->get(); return view('user.index',['users'=>$users]); B. Method - 2 $users = DB::table('users')->get(); foreach ($users as $user) { echo $user->name; } C. Method - 3 $user =…
A. Method - 1 $users = DB::table('users')->get(); return view('user.index',['users'=>$users]); B. Method - 2 $users = DB::table('users')->get(); foreach ($users as $user) { echo $user->name; } C. Method - 3 $user =…
$query = DB::table('busness_entity_information')->insert([ 'email' => 'kayla@example.com', 'votes' => 0 ]);
Date and time are some of the most frequently used operations in PHP while executing SQL queries or designing a website etc. PHP serves us with predefined functions for these…
Basic usage of Owl Carousel. I used loop:true and margin:10. The structure works with any kind of DOM element. In all of my examples i used <div class="item">...</div> but you could put any other element div/span/a/img...…
Download max mega menu plugin and install and activate it. Go to Appearance -> Menus. Find max mega menu setting option at the left side of the page. Tick and…