How to Insert Data into Mysql Database using PHP

How to Insert Data into Mysql Database using PHP

In this tutorial, we will explain How to insert data into Mysql database using PHP. If you want to save the record in one place then insert the data into the database. Below Steps: index.php <form method="post" action="insert.php" enctype="multipart/form-data"> <div class="name"> <div class="name1"><h1>Student Name:</h1></div> <div class="name2"><input type="text" name="name" value="" /></div> </div> <div class="name"> <div class="name1"><h1>Father […]
Read Full Article
How to Generate PDF from MySQL Database

How to Generate PDF from MySQL Database

In this article, you will learn How to Generate PDF from MySQL Database. Example:- Table of Employees CREATE TABLE IF NOT EXISTS `employee` ( `EmpId` int(11) NOT NULL, `EmpName` varchar(200) DEFAULT NULL, `EmpDepartment` varchar(200) DEFAULT NULL, `EmpRegDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1; INSERT INTO `employee` (`EmpId`, `EmpName`, `EmpDepartment`, `EmpRegDate`) VALUES (1, 'Amandeep […]
Read Full Article
How-to-Make-ID-Card-Using-PHP-and-Mysql

How to Make ID Card Using PHP Mysql and HTML

In this article, you will learn How to Make an ID Card Using PHP Mysql and HTML. This project is a web-based system. In this Project having some files How to Make an ID Card Using PHP Mysql and HTML Files:- index.php view.php id.php print.php upload.php index.php <?php mysql_connect('localhost','root',''); mysql_select_db('id_card'); ?> <html> <head> <link rel="stylesheet" […]
Read Full Article