| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Senior Member | I have made 2 php files script.php and contact.htm contact.htm HTML Code: <p>Get your tickets:<br> <FORM action="script.php" method="post"> Naam: <INPUT name=name size=10 style="BACKGROUND-COLOR: #FFFFFF; BORDER-BOTTOM: #F383A9 1px solid; BORDER-LEFT: #F383A9 1px solid; BORDER-RIGHT: #F383A9 1px solid; BORDER-TOP: #F383A9 1px solid; FONT-FAMILY: Arial; Helvetica; Microsoft Sans Serif; FONT-SIZE: 8pt; HEIGHT: 18px; WIDTH: 100px;" value= ><br> Aantal kaarten: <INPUT name=amountoftickets size=10 style="BACKGROUND-COLOR: #FFFFFF; BORDER-BOTTOM: #F383A9 1px solid; BORDER-LEFT: #F383A9 1px solid; BORDER-RIGHT: #F383A9 1px solid; BORDER-TOP: #F383A9 1px solid; FONT-FAMILY: Arial; Helvetica; Microsoft Sans Serif; FONT-SIZE: 8pt; HEIGHT: 18px; WIDTH: 20px;" value= > <br> E-mail adres: <INPUT name=email size=10 style="BACKGROUND-COLOR: #FFFFFF; BORDER-BOTTOM: #F383A9 1px solid; BORDER-LEFT: #F383A9 1px solid; BORDER-RIGHT: #F383A9 1px solid; BORDER-TOP: #F383A9 1px solid; FONT-FAMILY: Arial; Helvetica; Microsoft Sans Serif; FONT-SIZE: 8pt; HEIGHT: 18px; WIDTH: 100px;" value= ><br> Mobiel nummer: <INPUT name=mobilenr size=10 style="BACKGROUND-COLOR: #FFFFFF; BORDER-BOTTOM: #F383A9 1px solid; BORDER-LEFT: #F383A9 1px solid; BORDER-RIGHT: #F383A9 1px solid; BORDER-TOP: #F383A9 1px solid; FONT-FAMILY: Arial; Helvetica; Microsoft Sans Serif; FONT-SIZE: 8pt; HEIGHT: 18px; WIDTH: 80px;" value= ><br> <p align=right> <a href="script.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('submit','','images/submit_over.gif',1)"><img src="images/submit_up.gif" name="submit" width="49" height="18" border="0" align="absmiddle"></a> script.php PHP Code: - Faisj
__________________ Last edited by faisj; 10-28-2006 at 08:35 PM. |
| |
| | #3 (permalink) |
| Senior Member | I changed it but it still does not work... I did not get any email. I this piece of code correct? : PHP Code:
__________________ Last edited by faisj; 10-28-2006 at 08:35 PM. |
| |
| | #6 (permalink) |
| Buy my domains. | Change script.php to PHP Code: Last edited by Dan; 10-28-2006 at 09:39 PM. |
| |
| | #7 (permalink) | |
| Senior Member | I got a email but only: Quote:
Also the email: is not there.. the email should come from info@theundergroundparty.nl
__________________ | |
| |
| | #8 (permalink) |
| Buy my domains. | PHP Code: Last edited by Dan; 10-28-2006 at 09:39 PM. |
| |
| | #10 (permalink) |
| Buy my domains. | Ah.. I figured out the problem.. you have a link to script.php.. you aren't actually submitting the form. Change contact.html to Code: <p>Get your tickets:<br>
<FORM action="script.php" method="post" name="form">
Naam:
<INPUT name="name" size="10" style="BACKGROUND-COLOR: #FFFFFF; BORDER-BOTTOM: #F383A9 1px solid; BORDER-LEFT: #F383A9 1px solid; BORDER-RIGHT: #F383A9 1px solid; BORDER-TOP: #F383A9 1px solid; FONT-FAMILY: Arial; Helvetica; Microsoft Sans Serif; FONT-SIZE: 8pt; HEIGHT: 18px; WIDTH: 100px;" value="" /><br />
Aantal kaarten:
<INPUT name="amountoftickets" size="10" style="BACKGROUND-COLOR: #FFFFFF; BORDER-BOTTOM: #F383A9 1px solid; BORDER-LEFT: #F383A9 1px solid; BORDER-RIGHT: #F383A9 1px solid; BORDER-TOP: #F383A9 1px solid; FONT-FAMILY: Arial; Helvetica; Microsoft Sans Serif; FONT-SIZE: 8pt; HEIGHT: 18px; WIDTH: 20px;" value="" /><br />
E-mail adres: <INPUT name="email" size="10" style="BACKGROUND-COLOR: #FFFFFF; BORDER-BOTTOM: #F383A9 1px solid; BORDER-LEFT: #F383A9 1px solid; BORDER-RIGHT: #F383A9 1px solid; BORDER-TOP: #F383A9 1px solid; FONT-FAMILY: Arial; Helvetica; Microsoft Sans Serif; FONT-SIZE: 8pt; HEIGHT: 18px; WIDTH: 100px;" value="" /><br />
Mobiel nummer: <INPUT name="mobilenr" size="10" style="BACKGROUND-COLOR: #FFFFFF; BORDER-BOTTOM: #F383A9 1px solid; BORDER-LEFT: #F383A9 1px solid; BORDER-RIGHT: #F383A9 1px solid; BORDER-TOP: #F383A9 1px solid; FONT-FAMILY: Arial; Helvetica; Microsoft Sans Serif; FONT-SIZE: 8pt; HEIGHT: 18px; WIDTH: 80px;" value="" /><br />
<p align=right><a href="#" onclick="document.form.submit()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('submit','','images/submit_over.gif',1)"><img src="images/submit_up.gif" name="submit" width="49" height="18" border="0" align="absmiddle"></a>
|
| |
| | #11 (permalink) |
| Senior Member | Now i cant click on submit is that because of the: PHP Code: Ps. I have send you some NP$'s, THANKS FOR THE HELP I hope we can get it working
__________________ |
| |
| | #14 (permalink) |
| A Wealth of Knowledge | Just a side note, you might want to take your email address out of the code you posted. Just as a precautionary measure. -Steve
__________________ Follow Me on Twitter: |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |