Node js basic structure of creating server
A. Method -1 var http = require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/html'}); res.end('Hello World!'); }).listen(8080);
A. Method -1 var http = require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/html'}); res.end('Hello World!'); }).listen(8080);
Express.js tutorial provides basic and advanced concepts of Express.js. Our Express.js tutorial is designed for beginners and professionals both. Express.js is a web framework for Node.js. It is a fast,…
<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Example</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.1/dist/css/bootstrap.min.css" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"></script> </head> <body> <div class="container mt-3"> <h2>Dropdowns</h2> <p>The .dropdown class is used to…
Friends, before telling you what is a session in Laravel, I have to tell you that what actually is a session is that we store some data temporarily inside our…
window.location.href = "http://www.w3schools.com"; location.reload();
This tutorial is posted for beginners as well as experienced developers. It will help you insert form data into the MySQL Database without page refresh. <body> <!– form start –>…
Adding days to $Date can be done in many ways. It is very easy to do by using built-in functions like strtotime() in PHP. A. Add days $Date = date('Y-m-d');…