domainloco.net
Apr 15th 2008, 2:13 pm
hi, I need to have an order form for a new site I am making right now and I have NO idea how to use PHP to help me accomplish this.
I am using PAYPAL for payments. So I need the form to show the correct paypal button when the customer picks a product.
So far I have this as a order form:
<form action="mailto: dummie_email@gmail.com" method="POST" enctype="multipart/form-data" name="EmailTestForm">
<label>Name: </label><input name="name" type="text" size="30" class="fontelement"/><br />
<label>E-mail: </label><input name="email" type="text" size="30" class="fontelement" /><br />
<label>Package: </label><select name="package" class="fontelement">
<option>250 One Side Full Color $49 FREE Ship.</option>
<option>500 One Side Full Color $59 FREE Ship.</option>
<option>1,000 One Side Full Color $69 FREE Ship.</option>
<option>2,500 One Side Full Color $99 FREE Ship.</option>
<option>5,000 One Side Full Color $149 FREE Ship.</option>
<option>10,000 One Side Full Color $269 FREE Ship.</option>
<option>250 Two Side Full Color $64 FREE Ship.</option>
<option>500 Two Side Full Color $79 FREE Ship.</option>
<option>1,000 Two Side Full Color $89 FREE Ship.</option>
<option>2,500 Two Side Full Color $129 FREE Ship.</option>
<option>5,000 Two Side Full Color $169 FREE Ship.</option>
<option>10,000 Two Side Full Color $289 FREE Ship.</option>
<option>25 Business Card Magnets Full Color $45 FREE Ship.</option>
<option>50 Business Card Magnets Full Color $67 FREE Ship.</option>
<option>75 Business Card Magnets Full Color $79 FREE Ship.</option>
<option>100 Business Card Magnets Full Color $99 FREE Ship.</option>
<option>250 Business Card Magnets Full Color $124 FREE Ship.</option>
<option>500 Business Card Magnets Full Color $144 FREE Ship.</option>
<option>1,000 Business Card Magnets Full Color $215 FREE Ship.</option>
</select><br /><br />
<label>Details: </label><br />
<textarea name="details" cols="30" rows="10" class="fontelement"></textarea>
<br />
<br />
<input type="submit" value="Email Your Order">
</form>
But I guess I need something similar to this.
If the order form could supply the customer with the paypal button to pay right there please.
I am using PAYPAL for payments. So I need the form to show the correct paypal button when the customer picks a product.
So far I have this as a order form:
<form action="mailto: dummie_email@gmail.com" method="POST" enctype="multipart/form-data" name="EmailTestForm">
<label>Name: </label><input name="name" type="text" size="30" class="fontelement"/><br />
<label>E-mail: </label><input name="email" type="text" size="30" class="fontelement" /><br />
<label>Package: </label><select name="package" class="fontelement">
<option>250 One Side Full Color $49 FREE Ship.</option>
<option>500 One Side Full Color $59 FREE Ship.</option>
<option>1,000 One Side Full Color $69 FREE Ship.</option>
<option>2,500 One Side Full Color $99 FREE Ship.</option>
<option>5,000 One Side Full Color $149 FREE Ship.</option>
<option>10,000 One Side Full Color $269 FREE Ship.</option>
<option>250 Two Side Full Color $64 FREE Ship.</option>
<option>500 Two Side Full Color $79 FREE Ship.</option>
<option>1,000 Two Side Full Color $89 FREE Ship.</option>
<option>2,500 Two Side Full Color $129 FREE Ship.</option>
<option>5,000 Two Side Full Color $169 FREE Ship.</option>
<option>10,000 Two Side Full Color $289 FREE Ship.</option>
<option>25 Business Card Magnets Full Color $45 FREE Ship.</option>
<option>50 Business Card Magnets Full Color $67 FREE Ship.</option>
<option>75 Business Card Magnets Full Color $79 FREE Ship.</option>
<option>100 Business Card Magnets Full Color $99 FREE Ship.</option>
<option>250 Business Card Magnets Full Color $124 FREE Ship.</option>
<option>500 Business Card Magnets Full Color $144 FREE Ship.</option>
<option>1,000 Business Card Magnets Full Color $215 FREE Ship.</option>
</select><br /><br />
<label>Details: </label><br />
<textarea name="details" cols="30" rows="10" class="fontelement"></textarea>
<br />
<br />
<input type="submit" value="Email Your Order">
</form>
But I guess I need something similar to this.
If the order form could supply the customer with the paypal button to pay right there please.