How to Create PDF in PHP using FPDF library

There are many ways to create a PDF using PHP. And one of my favorite way to create PDF is by using FPDF library. So let’s see how we can create a PDF using the FPDF library. For the example of PDF, here I am creating a payment invoice slip. Note. You should have some …

Read more

Join Different tables of a Database with SQL Join statement on MySQL – 2017

Watch the video and use this code <!DOCTYPE html> <html> <head> <style> table, th, td { border: 1px solid black; } </style> </head> <body> <?php $servername = “localhost”; $username = “root”; $password = “”; $dbname = “youtube”; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die(“Connection failed: …

Read more

How to Fetch Data from Database in PHP and display in HTML Table?

How to fetch data from the database in PHP and display in the HTML table

[vc_row][vc_column][vc_column_text]Want to learn, How to fetch data from the database in PHP and display in the HTML table? Then keep reading and you will learn which query is used to fetch data from a database. Make a connection between the HTML Table and MySQL database using PHP. And also about some CSS to make HTML Table looks better.

Read more