Skip to content

namanshah22/form-submission-with-pdf-creation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Form Submission with PDF Creation and Storing it in Database

This project is a web page containing a form that captures user data, including Name, Phone Number, and City. Upon submission of the form, a unique UUID will be generated, a PDF will be created containing the entered data, and the form data will be stored in a database.

Technologies Used

  • HTML
  • CSS (Bootstrap)
  • JavaScript
  • PHP
  • FPDF (PHP library for creating PDFs)
  • MySQL

Features

  • User data capture
  • PDF creation and download
  • Database storage
  • Confirmation message upon submission

Setup Instructions

  1. Clone the repository
  2. Move the contents of the cloned repository to your server directory
  3. Create a new database and create the necessary tables
  4. Edit the database connection settings in submit.php
  5. Access the web page in your browser

Usage

  1. Access the web page in your browser.
  2. Fill out the form with your Name, Phone Number, and City.
  3. Click the "Submit" button.
  4. You will see a success message indicating that the form has been submitted successfully.
  5. You can click the "Download PDF" button to download the PDF file containing your form data.

Demo

Screenshot of Contact Form Screenshot of Contact Form

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published