In the index.html there is this:<form id=“form-1” action=“submit.php” method=“post” id=“contact”> and the submit buttons code’s this: <a class=“button-1” href="#" onClick=“document.getElementById(‘form-1’).submit()”><span class=“txt”>Submit</span></a>. How does the data go from the form to the database. What do I need to change on WAMPserver? I am new to this.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
NEED HELP! Php form submit redirect | 0 | 171 | January 15, 2013 | |
how to submit a form with <a href="javascript:" onClick="document.getElemen.......?
|
0 | 266 | May 29, 2012 | |
Submit forms | 3 | 139 | July 14, 2002 | |
Page doing nothing when form is submitted | 0 | 73 | February 19, 2008 | |
Submit Data and Redirect to different webpage | 0 | 124 | February 14, 2011 |