Laravel insert and display multiple records

View: <div class="container card" style="padding:20px"> @if (session('msg')) <div class="alert alert-success"> {{ session('msg') }} </div> @endif <h3 style="text-align: center;">Registration Form</h3> <form action="{{route('submit_records')}}" method="post"> <div class="form-group"> <label>Name</label> <input type="text" name="name" id="name" class="form-control"…

0 Comments

Laravel Ajax Crud

This article will give you example of laravel ajax crud example. you can understand a concept of laravel ajax crud example tutorial. I explained simply about laravel  jquery ajax crud…

0 Comments

Laravel checkout page with signup account

Checkout.blade.php <head> <title>Checkout</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> </head> <br/> <?php $service_orders_details = DB::table('service_orders')->where('order_id', $order_id)->get(); foreach($service_orders_details as $t_details){ $service_template_id = $t_details->service_template_id; $service_plan_id…

0 Comments

ckeditor in laravel

In this tutorial, we are going to create a new Laravel application for creating blogs or posts. While creating a blog we’ll use CKEditor to take input or HTML input…

0 Comments

Blog post crud in laravel

A. Fetch Posts : Controller: public function posts(){ $categoriesdata=Category::orderBy('id','desc')->get(); if(isset($_GET['search'])){ $search=$_GET['search']; $postsdata= DB::table('posts') ->leftjoin('categories', 'categories.id', '=', 'posts.category') ->select('posts.*', 'categories.id as categories_id', 'categories.name as categories_name') ->where('posts.title', 'LIKE', '%' . $search .…

0 Comments

Laravel Crud

Laravel is a PHP framework that provides a lot of features and tools to build web applications quickly and easily. One of the most common operations in web applications is…

0 Comments

instamojo integration in laravel

A. First way Goto https://test.instamojo.com. Copy Crediential from https://test.instamojo.com/integrations. (API & Plugins) Goto https://docs.instamojo.com/reference/payments-api for php api. OR Download src folder from here: https://github.com/Instamojo/instamojo-php/tree/master B. View: <form method="POST" action="{{route('paynow')}}" style="text-align:…

0 Comments