thanks - I totally skipped over those when I was looking at it. But I tried it out in WAMP, and either I'm not using it (wamp) correctly or I messed up somewhere in the code. Only 'email address' and 'mailing address' work... 
here's the php:
Code:
<?php
$name = $_POST['name'];
$email = $_POST['emailaddress'];
$address = $_POST['mailingaddress'];
if (isset($_POST['services_logo']))
{
$company_name = $_POST['comanyname'];
$company_description =
$_POST['companydescription'];
}
if (isset($_POST['services_businesscard']))
{
$variable1 = $_POST['bcardcompanyname'];
$variable2 = $_POST['companycontact'];
}
if (isset($_POST['services_webgraphic']))
{
$variable1 = $_POST['forumname'];
$variable2 =
$_POST['sig_avatar_description'];
}
if (isset($_POST['services_flyer']))
{
$variable1 = $_POST['whatevent'];
$variable2 = $_POST['whatfor'];
$variable3 = $_POST['whofor'];
$variable4 = $_POST['otherinfo'];
}
if (isset($_POST['services_notecard']))
{
$variable1 = $_POST['selectedartwork'];
$variable2 = $_POST['y_n'];
}
if (isset($_POST['services_buyartwork']))
{
$variable1 = $_POST['artworkname'];
}
if (isset($_POST['services_other']))
{
$variable1 = $_POST['otherservice'];
$variable2 = $_POST['description'];
}
/* TESTING OUTPUT */
echo $name . "<br>";
echo $email . "<br>";
echo $address . "<br>";
echo $companyname . "<br>";
echo $companydescription . "<br>";
echo $bcardcompanyname . "<br>";
echo $companycontact . "<br>";
echo $forumname . "<br>";
echo $sig_avatar_description . "<br>";
echo $whatevent . "<br>";
echo $whatfor . "<br>";
echo $whofor . "<br>";
echo $otherinfo . "<br>";
echo $selectedartwork . "<br>";
echo $y_n . "<br>";
echo $artworkname . "<br>";
echo $otherservice . "<br>";
echo $description . "<br>";
and here's the html (for the whole page):
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=UTF-8" />
<title>Ordering</title>
<script type="text/javascript">
<!--
function toggle_visibility(id) {
var e = document.getElementById(id);
if(e.style.display == 'block')
e.style.display = 'none';
else
e.style.display = 'block';
}
//-->
</script>
<style type="text/css">
<!--
body,td,th {
font-family: Papyrus;
font-size: 16pt;
color:
#FFFFFF;
}
body {
background-color: #000000;
}
a {
font-size: 14pt;
color: #FF0000;
}
a:link {
text-decoration: underline;
}
a:visited {
text-decoration: underline;
color: #0099FF;
}
a:hover {
text-decoration:
none;
}
a:active {
text-decoration: underline;
}
.style1 {color: #FF0000}
.style2 {color: #3300CC}
-->
.cssform p{
width: 550px;
clear: left;
margin: 0;
padding: 5px 0 8px 0;
padding-left: 155px; /*width of left column containing the label elements*/
border-top: 1px dashed #990000;
height: 1%;
}
.cssform label{
font-weight: bold;
float: left;
margin-left: -155px; /*width of left column*/
width: 150px; /*width of labels. Should be smaller than left column (155px) to create
some right margin*/
}
.cssform input[type="text"]{ /*width of text boxes. IE6 does not understand this
attribute*/
width: 180px;
}
.cssform textarea{
width: 250px;
height: 95px;
}
.hidden {
display:none;
}
/*.threepxfix class below:
Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents.
to account for 3 pixel bug:
http://www.positioniseverything.net/explorer/threepxtest.html
*/
* html .threepxfix{
margin-left: 3px;
}
</style>
</head>
<body>
<table width="750" border="1" cellspacing="2" cellpadding="1" align="center">
<tr>
<td width="85"><div align="center"><a href="index.html">Home</a></div></td>
<td width="136"><div align="center"><a href="about us.html">About Us</a></div></td>
<td width="247"><div align="center"><a href="our services.html">Available
Services</a></div></td>
<td width="117"><div align="center"><a href="artwork.html">Artwork</a></div></td>
<td width="131"><div align="center"><a href="ordering.html">Ordering</a></div></td>
</tr>
</table>
<br><br>
<h1><p align="center"><font color="FF0000">Order Form</font></p></h1>
<br>
<form id="myform" class="cssform" action="order.php" method="POST">
<p>
<label for="user">Name</label>
<input type="text" name="user" value="" />
</p>
<p>
<label for="emailaddress">Email Address:</label>
<input type="text" name="emailaddress" value="" />
</p>
<p>
<label for="comments">Mailing Address:</label>
<textarea name="mailingaddress" rows="5" cols="25"></textarea>
</p>
<p>
<label for="services">Services:</label>
<input type="checkbox" name="services_logo" value="logo_design"
onClick="toggle_visibility(this.value)" /> Logo Design<br />
<input type="checkbox" name="services_businesscard" value="business_card"
class="threepxfix" onClick="toggle_visibility(this.value)" /> Business Card Design
<br />
<input type="checkbox" name="services_webgraphic" value="web_graphics"
class="threepxfix" onClick="toggle_visibility(this.value)" /> Web Graphics <br />
<input type="checkbox" name="services_flyer" value="flyers" class="threepxfix"
onClick="toggle_visibility(this.value)" /> Flyers/Handouts <br />
<input type="checkbox" name="services_notecard" value="notecards" class="threepxfix"
onClick="toggle_visibility(this.value)" /> Notecards <br />
<input type="checkbox" name="services_buyartwork" value="Buying_Artwork"
class="threepxfix"
onClick="toggle_visibility(this.value)" /> Artwork for Sale<br />
<input type="checkbox" name="services_other" value="other" class="threepxfix"
onClick="toggle_visibility(this.value)" /> Other <br />
</p>
<p id="logo_design" class="hidden">
<label for="services">Logo Design:</label>
<br>Company Name: <br> <input type="text" name="companyname" /><br>
<br>Business Description: <br><textarea name="companydescription"></textarea>
</p>
<p id="business_card" class="hidden">
<label for="services">Business Card Design:</label>
<br><br>If you have a logo and want it used on your card, we will need a copy of it.
If you do not have a logo but want one, please fill out the information for Logo
Design as well.<br>
<br>Company Name:<br><input type="text" name="bcardcompanyname" /><br>
<br>Company Contact:<br><textarea name="companycontact">(Employee/Manager) Name:
Phone #:
Fax # (if applicable):
(company) Email address:
Anything else you want on the card:</textarea>
</p>
<p id="web_graphics" class="hidden">
<label for="services">Web Graphics:</label>
<br>
Again, this section is mainly intended for forum signatures/ avatars. If you have
something else in mind, please fill out the 'web graphic' option under the 'other'
section.<br>
<br>Forum Display Name:<br><input type="text" name="forumname" /><br>
<br>Please either describe a basic outline of what you want, or give us something to
base the image off of:<br><textarea name="sig_avatar_description"></textarea>
</p>
<p id="flyers" class="hidden">
<label for="services">Flyers/Handouts:</label>
<br>What is the event?<br><input type="text" name="whatevent" />
<br>What is it for?<br><input type="text" name="whatfor" />
<br>Who is it for?<br><input type="text" name="whofor" />
<br>Give any other needed information:
<br>(date, time, location, etc...)<br><textarea name="otherinfo"></textarea>
</p>
<p id="notecards" class="hidden">
<label for="services">Notecards:</label>
<br>Name(s) of artwork to be included:<br>(3 Max, please.)<br>
<textarea name="selectedartwork">1)
2)
3)
</textarea><br>
<br>If you want a custom image, please fill out the 'custom image' option under the
'other' section, and describe what you want. Alyssa or Theresia will do their best to
complete what you describe.<br>
<br>Do you wish to buy the artwork with the notecards?<br>
<select name="y_n">
<option value="1">~please select~</option>
<option value="2">Yes</option>
<option value="3">No</option>
</select>
</p>
<p id="Buying_Artwork" class="hidden">
<label for ="services">Artwork for Sale:</label>
<br>Name(s) of artwork you wish to buy:
<br><textarea name="artworkname"></textarea><br>
<br>If you want something specific drawn to buy, fill out the 'custom image' option
under the 'other' section.
</p>
<p id="other" class="hidden">
<label for="services">Other:</label>
<br>What do you need?<br>
<select name="otherservice">
<option value="1">~select one~</option>
<option value="2">Custom Image</option>
<option value="3">Web Graphic</option>
<option value="4">Other Service</option>
</select><br>
<br>Please Describe:
<br><textarea name="description"></textarea>
</p>
<br>
<div style="margin-left: 150px;">
<input type="submit" value="Submit" /> <input type="reset" value="Reset" />
</div>
<br>
</form>
</body>
</html>
I don't think I quite know what I'm doing with WAMP...
Bookmarks