sdavis22 Posted July 16, 2012 Share Posted July 16, 2012 I have very basic HTML skills and I do not know how to do this! Any help would be great! I need the code for a simple form that when the submit button is clicked it gives a popup saying 'thank you' or something and the form would be emailed and the submission would go to the counter that is visible on the page. I am working on this website using Hostbaby.com ...I don't even know if it's possible to do that on there. If anyone could help that would be wonderful! Thanks Quote Link to comment Share on other sites More sharing options...
Jessica Posted July 16, 2012 Share Posted July 16, 2012 Do you have a mysql database? Quote Link to comment Share on other sites More sharing options...
sdavis22 Posted July 16, 2012 Author Share Posted July 16, 2012 I don't have access to a database through hostbaby.com Quote Link to comment Share on other sites More sharing options...
Jessica Posted July 16, 2012 Share Posted July 16, 2012 Since it's just for one thing, then you can save the current count in a text file. Search for PHP tutorials related to emailing, form processing, and read/write of files. Quote Link to comment Share on other sites More sharing options...
xyph Posted July 16, 2012 Share Posted July 16, 2012 What do you have so far? Quote Link to comment Share on other sites More sharing options...
sdavis22 Posted July 16, 2012 Author Share Posted July 16, 2012 This is what i have so far <html> <p>Please enter your information below:> <form action="mailto:name@yahoo.com" method="post" enctype="text/plain"> Name:<br /> <input type="text" name="name" size="20" /> <br /> Email:<br /> <input type="text" name="email" size="20" /> <br /> Comment:<br /> <input type="text" name="comment" size="40" /> <br /><br /> <input type="submit" value="Send" /> <input type="reset" value="Reset" /> <input name="_redirectUrl" type="hidden" value="mythankyoupage.html" /> </form> </html> Quote Link to comment Share on other sites More sharing options...
xyph Posted July 17, 2012 Share Posted July 17, 2012 So you haven't attempted any PHP at all? Are you familiar with programming basics, such as variables, arrays and conditional statements? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.