STG Studios

The Power of the Lens

STG Studios header image 2

Sample Photography Order Forms

May 31st, 2011 by admin

sample photography order forms
How can I finish this PHP/HTML order form?

I have started an order form for my wedding photography business: http://www.smilelikeumeanit.com/wed/storage/sales/page1_prints.html

I want the form to go to another page that summarizes the number of each print size that someone is trying to order. So, I'll need to add up each category. I've never done math with PHP before is it even possible?

The other thing I've never done is display the information back to the user and ask them to confirm before emailing it to myself.

Can you please give me either links to a tutorial that will help, or sample code that will do what I'm looking for?

To summarize everything just make a php code that echo the POST data. Make data out put in a table to make it neat.

yes math in php is easy

ex:

$product1 = $_POST['picture1price'];
$product2 = $_POST['picture2price'];
$sub_total = $product1 + $product2;
echo $subtotal;

This is just an SIMPLE example of the math part;

w3schools.com on the left under the server scripting. click learn PHP. Very good site for php!

There are also many open source shopping scripts out there also.

Good Luck

Lisa Holden


Tags:   · · · · · No Comments

0 responses so far ↓

Like gas stations in rural Texas after 10 pm, comments are closed.