PHP Contact form with jQuery Validation

preview_player
Показать описание
A revised HTML and PHP Contact Form tutorial featuring both jQuery validation and PHP fallback validation too! Covers basic validation and some security options/methods for consideration.
Рекомендации по теме
Комментарии
Автор

Thanks a lot dude. This was the only tutorial I could use to get my site working the way I'd intended.

iamrichlol
Автор

Thanks a lot for this. I'm still in the process of getting better with PHP and this really helped a lot.

SamTheWebb
Автор

Finally someone who doesn't use stupid Dreamweaver to create sites. Hate depending on a paid tool. I know Sublime is paid but it's just plain text that I can easily type on any other text editor. Thanks man.

LizardanNet
Автор

Thank you for this tutorial, Works like a charm and I actually learned something :)

nljoram
Автор

Yay thankyou! Just what I needed to get this working on my new site.

LizBroekhuyse
Автор

I would like to thank you ! i been trying to fix my contact form on my portfolio website and following your tutorial finally helped me achieve this Thank you so much!

cheers :) 

oOShalkOo
Автор

Thank you for this very well explained tutorial, You sir do an awesome job. 

thijsoudeavenhuis
Автор

Thanx for the tutorial Harry, learned a lot of new things =D

therayen
Автор

Great tutorial. I can't get the hints to show up at all. i.e. the valid email required under the text box. Any ideas? the rest works well.

HLLRAZR
Автор

Great! Thanks.
Is there a way that after submit the form it reloads the page in the same place?
When it happens  it reloads at to the top of the page.

_ezepena_
Автор

Does it make sense to validate before sanitizing and not the other way around? Also (this might be just left out in this video to keep it shorter), it's not enough to just check the form was submitted via isset, but you should also check that the form elements you are creating variables for are actually all still present. If you remove one and don't change the server validation it will bug out.

Brax
Автор

Great video Harry. Would it be possible to take this a step further and add the details of the form to a mysql database and then display the results of the database in a table on a seperate web page? Thanks.

joshuadunn
Автор

Hey there!

Love this tutorial! Very well explained and works great for me. I look forward to your future videos and will subscribe and like! However, when I click submit, the page just refreshes and I don't get any email. Do you think you could look at my code to see where maybe I'm messing up?

geeno
Автор

Hi, I have a question. Everything in the form works great and everything is working except the a minor error I get when I try to submit a test in WAMP server with PHP 5.4.16. The error is as followed:

Warning: mail(): SMTP server response: 550 The address is not valid. in <path> on line 46. Line 46: $mailset = mail($to, $subject, $msgcontents, $headers);

I am testing this form with WAMP server / PHP 5.4.16 as mentioned above. What could I do to solve this issue or what can I do to the web server to resolve this issue. thanks.

DarkShadowgale
Автор

Great tutorial!! I learned quite a bit.
Just a quick tutorial recommendation... Could you possible make an extension of this tutorial but implementing it into a database? Stumped on how to do that..
Thanks alot!

guillaumepalm
Автор

Please help i did like you say but when i open the index.php in browser it won't load up, is like loading and loading and then nothing happends? i did like you php and html in a index.php and css in styles.css but it doesn't work?

GamingAlp
Автор

Hi there, is there a ways to do this but make the "Echo: your message has been sent" be a pop up on the contact for after it has successfully been submitted, instead of it going to a new page?

morenayika
Автор

Please can I have some help. For some very odd reason when I preview it in the browser I get the code being displayed with some boxes and unsure why. I have gone through the code and checked it and everything seems correct. I have saved it as php.

ironmaidenruleful
Автор

everytime i run it offline it is showing me the code not running the html, is there something i could have done wrong or need to fix?? i have tried to run thru the code as best as i can to make sure all is in place

canaannyoni
Автор

Hello, I have a quick question. Does the php needs to be inside the html file? I'm asking this because I get to see the raw php code displaying on my page in the browser.

christiancruz
join shbcf.ru