![]() |
How to Get Simple Contact Form using HTML CSS and PHP - Printable Version +- Shediweb Forum (https://shediweb.com.ng) +-- Forum: Programming (https://shediweb.com.ng/Forum-Programming) +--- Forum: Css (https://shediweb.com.ng/Forum-Css) +--- Thread: How to Get Simple Contact Form using HTML CSS and PHP (/Thread-How-to-Get-Simple-Contact-Form-using-HTML-CSS-and-PHP) |
How to Get Simple Contact Form using HTML CSS and PHP - Shedi - 01-11-2025 Welcome to shediweb forum, in this topic I will showing you Simple Contact Form using HTML CSS and PHP very easy if you are a pro and hard for newbies ☑️ PHP Code: <!DOCTYPE html> CSS PHP Code: width: 100%; PHP code: To add functionality to the form, we are using phpmailer. A separate php file “contact.php” is created and the name of the file is added in the HTML file in the form action field. <form class="form-horizontal" method="post" action="contact.php"> In the following code, we are getting the name, email, and message from the contact form. When “SEND” button is clicked, an email is sent from the website to the email address specified in the PHP code, with the subject line “This is the subject line”. PHP Code: <?php |