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 Fetch Data From Mysql Database using PHP

How to Fetch Data From Mysql Database using PHP

How to Fetch Data From Mysql Database using PHP, from inserted data in Mysql database. HTML Code <div class="table"> <div class="tab1"><h1>Name</h1></div> <div class="tab1"><h1>Father name</h1></div> <div class="tab1"><h1>Mother name</h1></div> <div class="tab1"><h1>E-mail</h1></div> <div class="tab1"><h1>Address</h1></div> <div class="tab1"><h1>DOB</h1></div> <div class="tab1"><h1>Category</h1></div> <div class="tab1"><h1>Image</h1></div> <div class="tab1"><h1>Action</h1></div> <div class="tab1"><h1>Delete</h1></div> <?php $query1 = "select * from table"; $query2 = mysql_query($query1); while($row = mysql_fetch_array($query2)) { […]
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