Display Image Before Uploading

<div>    <input type="file" name="partner_logo" id="partner_logo" class="form-control"  onchange="previewImage(event);" /><br/>    <span id="msg" style="color:red"></span>     </div>     <div class="preview">        <img id="preview-selected-image" />     </div> <script> const previewImage = (event) => {    const imageFiles = event.target.files;    const…

0 Comments

File Upload Using PHP-AJAX

HTML PART <body> <!-- upload form start -->   <div class="card"> <div id="notification" style="padding:10px; color:white"></div><br/>        <div class="container" style="padding:20px">           <h3>Upload Partner Logo</h3><br/>             <div>     <input type="file" name="partner_logo" id="partner_logo" class="form-control"…

0 Comments

Laravel Router

Friends, router plays a very important role in any website. Router's job is to create URL of the website. If you have heard about slug, then I want to tell…

0 Comments

Laravel Route

A. Basic Routing use App\Http\Controllers\COntrollerName; Route::get('/greeting', function () { return'Hello World'; }); Route::get('/user', [UserController::class, 'index']); Route::match(['get', 'post'], '/', function () { // ... }); Route::any('/', function () { // ...…

0 Comments

Use of Would ?

We can use of would in different cases such as : 1. Would ( Karta, kisi kaam ko karta ) :- A. Mai aaj office jata par mera man nahi…

0 Comments

Props in vue js

We use props to pass information/data from a parent component to child components. In this article, I will explain everything you need to know about props and why you should…

0 Comments