Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.

Get Started Now!

Basic Query in Laravel PHP Framework

Basic Query in Laravel PHP Framework
laravel

Basic Database Usage

Query 1 => Display total number of row in a table where role id 2 ?

Query 2 => Display row detail which is trip published ?

Query 3 => Display total number of row in a table output 1,5,8…. ?

Query 4 => Display total row detail in a table use modal and table ?

This is modal use
$evariblename = madalname::all();

This is table use

$evariblename = DB::table(‘tablename’)-get();

Query 5 => Display all Trip detail with image and his Iternaries detail is published ?

Query 6 => Display Single field value whose id is passed in blade file ?

Query 7 => Display Single row using two method ?

$evariblename = madalname::find($id); $evariblename = madalname::where(‘id’,$id)->first();

Query 8 => Display total number of row where email dharmendra.cotocus@gmail.com ?

Query 9 => Display trip detail with latest and also his iternaries, image which trip is published ?

Query 10 => Display trip detail who is login and also his iternaries, image which trip is publish and permission Approve?

Query 11 => Display trip detail with latest and also his iternaries, image which trip is publish and permission Approved?

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x