Jump to content

PHP form submit help


lukemaso

Recommended Posts

I'm really new to PHP but I need a form submit on my website. When using the form everything seems to work, but I am not receiving the data from my form. I used a program that I found to make the form and was hoping that it would just work, if anyone could look over the code and tell me why its not working the help would be greatly appreciated. The page is located at

 

http://tessports.net/photo_request.php

Link to comment
https://forums.phpfreaks.com/topic/71265-php-form-submit-help/
Share on other sites

The code for the page is:

<html>
<head>
<title>Photo Request</title>
<!-- 	
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1">
-->

<meta name="description" content="Photo Request">
	<style type='text/css'>
	.form_title{
		color : #000000;
		font-size: 13px;
		font-family: verdana, Geneva, Arial, Helvetica, sans-serif;
		font-weight : bold;
	}

	.form_field {
		font-size : 13px;
		font-family : Verdana, Arial, Helvetica, sans-serif;
		color : #474747;
		font-weight : bold;
		text-align:left;
	}

	.form_text{
		font-size : 11px;
		font-family : Verdana, Arial, Helvetica, sans-serif;
		color : #000000;
	}

	.text_box{
		font-size : 11px;
		font-family : Verdana, Arial, Helvetica, sans-serif;
		color : #000000;
		width:200px;
	}

	.text_area{
		font-size : 11px;
		font-family : Verdana, Arial, Helvetica, sans-serif;
		color : #000000;
		width:200px;
		height:60px;
	}

	.text_select{
		font-size : 11px;
		font-family : Verdana, Arial, Helvetica, sans-serif;
		color : #000000;
	}

	.form_error{
		font-size : 11px;
		font-family : Verdana, Arial, Helvetica, sans-serif;
		color : #ff0000;
		font-weight : bold;
	}

	.copyright{
		font-size : 11px;
		font-family : Verdana, Arial, Helvetica, sans-serif;
		color : #000000;
	}

</style>
</head>

<body  marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">




<meta http-equiv="content-type" content="text/html; charset=">


<!-- ------------------------ Begin: Your FormMail's Description  ------------------------ -->

<br><br><br>
<table cellspacing='16' cellpadding='0' border='0' align='center' ><tr><td>

<font class='form_title'></font>

</td></tr></table>

<!-- ------------------------ End: Your FormMail's Description  ------------------------ -->





<!-- =======================  Begin: Form Generated By PHP FormMail Generator ======================= -->




<form name="frmFormMail" action="/preview.php?uuid=20070930-7571" method='post' enctype='multipart/form-data'>
<input type='hidden' name='formmail_submit' value='Y'>
<input type='hidden' name='esh_formmail_recipient' value="[email protected]">
<input type='hidden' name='esh_formmail_subject' value="Photo Request">
<input type='hidden' name='esh_formmail_cc' value="">
<input type='hidden' name='esh_formmail_bcc' value="">
<input type='hidden' name='esh_formmail_return_subject' value=" photo request (auto-response)">
<input type='hidden' name='esh_formmail_return_msg' value="Thankyou for your request. You photos will be emailed to you.

-Luke Mason">
<input type='hidden' name='esh_formmail_mail_and_file' value="">
<input type='hidden' name='esh_formmail_charset' value="">

<table cellspacing='16' cellpadding='0' border='0'  >
<tr>
	<td class="form_field" valign='top' align='right'>Name </td><td width='10'  aligh='right' valign='top'></td>
	<td class="form_text">
<input type="text" name="Name"  value="" class='text_box'>
	</td>
</tr>

<tr>
	<td class="form_field" valign='top' align='right'>Email </td><td width='10'  aligh='right' valign='top'></td>
	<td class="form_text">
<input type="sender's email" name="Email"  value="" class='text_box'>
	</td>
</tr>

<tr>
	<td class="form_field" valign='top' align='right'>Photo Number </td><td width='10'  aligh='right' valign='top'></td>
	<td class="form_text">
<input type="text" name="Photo_Number1"  value="" class='text_box'>
	</td>
</tr>

<tr>
	<td class="form_field" valign='top' align='right'>Photo Number </td><td width='10'  aligh='right' valign='top'></td>
	<td class="form_text">
<input type="text" name="Photo_Number2"  value="" class='text_box'>
	</td>
</tr>

<tr>
	<td class="form_field" valign='top' align='right'>Photo Number </td><td width='10'  aligh='right' valign='top'></td>
	<td class="form_text">
<input type="text" name="Photo_Number3"  value="" class='text_box'>
	</td>
</tr>


<tr><td colspan=3 align='center'><input type='submit' value='Submit'>    <input type='button' value='Cancel' onclick="location.href='/';"></td></tr>
</table>


</form>




<!-- =======================  End:  ======================= -->


</body>
</html>

 

 

Sorry about that

 

Please use code [(


) tags when posting code

Link to comment
https://forums.phpfreaks.com/topic/71265-php-form-submit-help/#findComment-358449
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.