Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Basic Query in Laravel PHP Framework

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?

Related Posts

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Artificial Intelligence