PHP MySQL Data Transfer in secured way

By this post we can learn the below thing in php Prevent refreshing Prevent Back button in browser separate configuration file creation (config.php) separate function file creation(functions.php) password encryption using md5 hash design in form validation Pre requisite: Install xampp for Apache server, php & Mysql database Step-1: create a file index.php and write the …

Templates and Static Directory Setup in Django

A Django beginner sometimes faces to setup templates and static directories in their project. Since different youtube tutorials and blogs set up these directories in different ways, confusion arises accordingly. Today, I will show you a very easy way to minimize zero-level confusion. Templates Directory setup: Templates directory/folder contains html files. Step-1: create a directory …

How to Create Database Seeder in Laravel 8/9

Database seeder is used for generating fake data for testing purpose. It helps to reduce the developer’s time by avoiding data insertion in the database table. Step-1: Create Model named Employee and Run Migration Step-2: Now go to the migtation table file (database/migrations/timestamp_employees_table.php) for defining table fields. Step-3: Similarly, define the Employee table in app/Models/Employee.php: Step-4: …

Setup bootstrap in Laravel8

Step-1: Install Laravel UI Step-2: Install bootstrap using the below command Step-3: now install npm and run npm Step-4. create blade template file named test.blade.php under resources->views directory or location. Then put the below code for testing purpose in this file. Step-5: write the below code in web.php Step-5: Output