
Every website needs to have some way for the visitors to be able to reach out and contact the website owner, but with all the spammers and pay for scripts out there where do you start. Well if you are here then you are obviously off to a good start. I have created a non javascript based contact form with required field validation and email validation....all using PHP. In this article you will learn it step by step and can even download a working version. Best of all, its free.
I break down the CSS, HTML, and PHP to show you how to make changes or just use it without modification....its your choice. You can copy and paste the script using the broken down sections below or you can download the script free of charge and I do not required a watermark link (but one would be appreciated).
We have comments in the PHP for the PHP challenged, so there is no need to worry about not knowing a thing about server side scripting....it's all documented(We recently moved all of the coded language to the attached files. Please see them for what you need)
Even if you do not understand PHP you can use this form right out of the box. I only ask that you give credit where credit is due, but of course that is not required. I have included a working zip file that contains the contact.php file with everything you see here. Good luck and happy coding.
Contact Form Attached (download) I have attached a contact form in php format. You can edit it using the guidelines above. You can download the contract here.
Have an opinion about our article? Please share your thoughts in the comments below. We respect the DO FOLLOW rule so "you comment, we follow".
Be sure to stay tuned: follow us on Twitter, friend us on Facebook and grab the RSS.
POSTED BY:ERIC
PHP, CONTACT FORM, SIMPLE, NO JAVASCRIPT, VALID, CODE




Thanks. You can use size="50" to increase the size of the box, use the maxlength="50" to limit the number of characters in the textbox, and finally use style="font-size:20pt;" to increase the size of the font within the textbox.
You are doing it correctly, so I do not know why it would not let you increase the size of the textbox. Those are some ways to modify the textbox, but just in case it does not help I have provided you with a link to a great HTML tutorial website: Tizag
I hope that this helps, if not post here with your code and I can take a look at it. Good luck.