Tutorials

PHP 7 jsPDF Html2Canvas Example: Send Generated PDF as Email Attachment to Client Using JavaScript

PHP 7 jsPDF Html2Canvas Example: Send Generated PDF as Email Attachment to Client Using JavaScript

index.php <?php function MailWithAttachment($to, $subject, $message, $senderMail, $senderName, $files){ $from = $senderName." <".$senderMail.">"; $headers = "From: $from"; // boundary $semi_rand…

July 6, 2022

PHP 7 FPDF Example: Create PDF Document From Text File Using Javascript

index.php <?php require('fpdf/fpdf.php'); class PDF extends FPDF { // Function to set the document header function Header() { global $title;…

July 6, 2022

PHP 7 FPDF Example: Add TrueType Fonts inside PDF Document

index.php <?php define('FPDF_FONTPATH','./'); require('fpdf/fpdf.php'); $pdf=new FPDF(); // Add new font from the calligra.php file $pdf->AddFont('Calligrapher','','calligra.php'); //Add a new page $pdf->AddPage();…

July 6, 2022

jsPDF Autotable Tutorial: Give Different Widths to Columns & Rows of Table in PDF Document

You have to convert your columnWidth array to look like this: doc.autoTable({ html: '#table', columnStyles: { 0: {cellWidth: 100}, 1:…

July 6, 2022

jsPDF Autotable Tutorial: Copy CSS Styles of Table to Another Table

You can use the useCss config option. This setting copies the basic CSS styles from one table to another.

July 6, 2022

jsPDF Autotable Tutorial: Draw Colorful Rounded Rectangle in Cell of Table inside PDF Document

const doc = new jsPDF('p', 'pt', 'a4'); doc.autoTable({ head: headerdata, // array of arrays theme: 'grid', body: bodydata, // arry…

July 6, 2022

Instagram Login Page HTML and CSS Code Download

The official Instagram login page is designed using HTML and CSS. In this tutorial, I'll provide you complete source code…

July 6, 2022

Facebook Login Page HTML and CSS Source Code (Free Download)

The official Facebook login page is written in HTML5 and CSS3 code. The HTML code for the Facebook home page…

July 6, 2022

Schemats Tutorial and Ultimate Guide For Beginners

Introduction: What is Schemats and Why Should You Care? Schemats is a tool that helps you automatically generate TypeScript interface…

July 6, 2022

Office 365 Tenant to Tenant Migration Done Right

When we first started adopting Office 365, the major concern was over our tenants being on a shared service. To…

February 26, 2022