Simple Contact Form In PHP With Source Code

By | February 15, 2024

Project: Simple Contact Form in PHP with source code

Please scroll down and click on the download button to download Simple Contact Form for free

Simple Contact Form is developed using PHP, CSS, and JavaScript. This project is all about the generation of contact page to add it in any of your website or web page. Also, there is some validation used in the project to make it more attractive and functioning.

About the System

Talking about the features of this project, the user can simply write their name , email address, phone number, and short message that they want to send. Also, the design of this project is pretty simple so that the user won’t find any difficulties while working on it. There is some validation in the project which makes the project more realistic.

How To Run??

To run this project you must have installed virtual server i.e XAMPP on your PC (for Windows). Simple Contact Form in PHP with source code is free to download, Use for educational purposes only!

After Starting Apache and MySQL in XAMPP, follow the following steps
1st Step: Extract file
2nd Step: Copy the main project folder
3rd Step: Paste in xampp/htdocs/

4th Step: Open a browser and go to URL “http://localhost/contact-form/”

For the project demo, you can have look at the video below:

project demo


If stuck or need help customizing this form as per your need, go to our PHP tutorial  or just comment down below and we will do our best to answer your question ASAP. 

3 thoughts on “Simple Contact Form In PHP With Source Code

  1. Richard Akyiaw

    Hi I’m new to PHP and downloaded the simple contact form. But when I uploaded it to a real server and tried testing it, it doesn’t send the input to the email address i specified in the code @ contact.php… can someone tell me why? also I realised that the form action is blank, any help?

    1. Sonal Pawar

      action form should have php/contact.php i feel… i tried changing the emailto address to my email but i am also not getting any output. Have you got any output?


Leave a Reply

Your email address will not be published. Required fields are marked *