View Single Post
Old 07-03-2006   #4 (permalink)
ecntrc
A$s On Fiyah
 
ecntrc's Avatar
 
Join Date: May 2005
Location: Ewa Beach, Hawaii
Posts: 601

Send a message via Yahoo to ecntrc
Ok heres what i have

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
body {
background-image: url("g8pat04.gif");
	font: 12px/24px "Georgia", "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #000000;
}

#title {
	width: 330px;
	height: 26px;
	color: #000000;
	font: bold 15px/18px "Georgia", "Trebuchet MS", Arial, Helvetica, sans-serif;
	padding-top: 5px;
	background: transparent url("g8pat04.gif") no-repeat;
	text-transform: uppercase;
	letter-spacing: 3px;
	text-align: center;
}

form {
	width: 335px;
}

.col1 {
	text-align: right;
	width: 135px;
	height: 31px;
	margin: 0;
	float: left;
	margin-right: 2px;

}

.col2 {
	width: 195px;
	height: 31px;
	display: block;
	float: left;
	margin: 0;
	
}

.col2comment {
	width: 195px;
	height: 98px;
	margin: 0;
	display: block;
	float: left;
}

.col1comment {
	text-align: right;
	width: 135px;
	height: 98px;
	float: left;
	display: block;
	margin-right: 2px;
	
}

div.row {
	clear: both;
	width: 335px;
}

.submit {
	height: 29px;
	width: 330px;
	background: url(bg_submit.gif) no-repeat;
	padding-top: 5px;
	clear: both;
} 

.input {
	background-image: url("g8pat04.gif");
	font: 11px/14px "Lucida Grande", "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #000000;
	margin: 4px 0 5px 8px;
	padding: 1px;
	border: 1px solid #000000;
}

.textarea {
	border: 1px solid #000000;
	background-image: url("g8pat04.gif");
	font: 11px/14px "Lucida Grande", "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #000000;
	margin: 4px 0 5px 8px;
}

</style>
</head>

<body>
<form action="#" method="post">
 <?php

if (isset($_POST['emailSubmit']))
      mail($_POST['emailTo'], $_POST['emailSubject'], $_POST['emailBody']);

?>
</p>
<form method="POST" action="<?php echo $_SERVER['PHPSELF']; ?>
<input type="hidden" name="emailTo" value="mst0ke@yahoo.com" />

  <p>&nbsp;</p>
<div id="title">CLASS SIGN UP </div>
<div class="row">
  <label class="col1">Full Name:&nbsp;&nbsp;</label>
<span class="col2"><input name="name" class="input" type="text" id="name" size="20" tabindex="1"  /></span>

</div>
<div class="row">
  <label class="col1">Address:&nbsp;&nbsp;</label>
  <span class="col2">
  <input name="address" class="input" type="text" id="address" size="25" tabindex="2" />
</span>
</div>
<div class="row"><label class="col1">City:&nbsp;&nbsp;</label>
<span class="col2"><input name="city" class="input" type="text" id="city" value="" size="2" tabindex="3" /></span>
</div>
<div class="row"><label class="col1">State:&nbsp;&nbsp;</label>
<span class="col2"><input name="state" class="input" type="text" id="state" value="" size="9" tabindex="4" /></span>
</div>
<div class="row"><label class="col1">Age:&nbsp;&nbsp;</label>
<span class="col2"><input name="age" class="input" type="text" id="age" value="" size="3" tabindex="5" /></span>
</div>
<div class="row"></div>

<div class="row"><label class="col1comment">Comment:&nbsp;&nbsp;</label>
<span class="col2comment"><textarea cols="20" class="textarea" rows="4" name="comment" id="comment" tabindex="6" ></textarea></span>
</div>
<div align="center" class="submit">
  <input type="submit" name="emailSubmit2" value="Submit" />
  </form>
</div>
</body>
</html>
the url you can view to see it http://www.tarachanel.com/CWClassForm.html

What my problem is now, when I hit submit it says the method is not allowed? not sure whats wrong?
__________________
google is my lover, whos yours?
ecntrc is offline