This project is a simple contact form that allows users to get in touch with you. The form includes fields for name, email, mobile number, and message.
erfoux-contact-us-form/
├── README.md
├── closed.php
├── database.php
├── index.php
├── styles.css
└── submited.php
To run this project, you will need the following:
- A web server (such as Apache or Nginx)
- PHP 7.0 or higher
- MySQL for the database
To set up this project on your system, follow these steps:
-
Download the Project: First, download the project from GitHub or another source.
git clone https://github.com/ERFouX/contact-us-form.git
-
Create the Database:
- Connect to MySQL and create a new database named
contact_us
. - If necessary, create the required tables.
- Connect to MySQL and create a new database named
-
Database Configuration:
- Open the
database.php
file and change the database connection information (username and password) according to your local settings.
$servername = "localhost"; // or your database server address $username = "root"; // database username $password = ""; // database password $db_name = "contact_us"; // database name
- Open the
-
Upload Files to the Server:
- Place all project files in the root directory of your web server (such as
htdocs
in XAMPP orhtml
in NGINX).
- Place all project files in the root directory of your web server (such as
-
Run in Browser:
- Open your browser and go to
localhost/contact-us-form
to view the contact form.
- Open your browser and go to
If you would like to contribute to this project, please follow these steps:
-
Fork the Project: Fork the project and create a copy of it in your GitHub account.
-
Create a New Branch: Create a new branch for your feature or fixes.
git checkout -b feature-name
-
Make Changes: Make your changes to the code.
-
Commit Your Changes: Commit your changes.
git commit -m "Add some feature"
-
Push to Your Repository: Push your changes to your repository.
git push origin feature-name
-
Create a Pull Request: Go back to the main repository and create a Pull Request to review your changes.
For any questions or issues, you can reach out to us via the following email:
Thank you for your interest in this project!