Learn how to submit an online HTML form to both MySQL and email using PHP. Get source code on Patreon: http://www.johnmorrisonline.com/patreon Enroll in …
Original source
Learn how to submit an online HTML form to both MySQL and email using PHP. Get source code on Patreon: http://www.johnmorrisonline.com/patreon Enroll in …
Original source
20 responses to “Submit an Online HTML Form to Both MySQL and Email Using PHP”
please someone should help me. I can't get the tutorial source code
Greetings. I do not really understand the loop where you go trough the whitelist.
Are you declaring both $fields[] and $post[] at line 69?
Are you taking data from $fields[] to $post[] or the other way around?
nice ,very usefull thanx
Hi John, is it possible to use your code in such a way where I'd like the user who entered their details to receive a copy of their submission? This requires the $email_address to be able to fetch the submitted data from the database and send it automatically right? I need some help on whether this is possible, if yes, how? Hope to receive your response soon. Thanks!
thank's mate!
Thanks so much for this video you are a life saver
It would be nice if the link to get the source code took you TO the source code after you are a patron. OR, it could just be that I can't follow directions.
Hi There, first off great tutorial! Just few questions i have which i am hoping you could help me with.
On successful completion and submission of the form i am getting the following errors being displayed at the top of my index.php file
Notice: Use of undefined constant validation – assumed 'validation' in /Applications/XAMPP/xamppfiles/htdocs/sampleWebsite/functions.php on line 24
Warning: Illegal string offset 'status' in /Applications/XAMPP/xamppfiles/htdocs/sampleWebsite/functions.php on line 24
Im working via localhost in XAMPP and do not have any mail support setup so i am thinking this is my problem. The data is being sent to my Database without fail.
The second question i have is: On submission, the index.php file refreshes to the top of the page so the contact form and errors cannot be seen, i physically have to scroll down to the contact form section. Is there anyway to refresh the page on submission of the form back to the contact form itself?
I would greatly appreciate your help!
good stuff JM! thanks for these vids!
on your website do you allow only payment through paypal ??are there no provision for credit cards payment
Gotta love it.
Do you actually work as an web developer or are you any kind of developer?
great tut John keep the good work up
hi, really I got it now
i can get he source code…
oh god! finally! ive been looking for this tutorial for a long freaking time!!! thank you very much sir
loads of awesomeness in one tutorial thanks!
What is that thing at the top of atom?
great
Nice one