Customer Infomation
Shopping Cart Contents
None
"; ELSEIF ($number > 0) : WHILE ($i < $number): $name = mysql_result($result,$i,"name"); $address = mysql_result($result,$i,"address"); $city = mysql_result($result,$i,"city"); $state = mysql_result($result,$i,"state"); $zip = mysql_result($result,$i,"zip"); $saddress = mysql_result($result,$i,"saddress"); $scity = mysql_result($result,$i,"scity"); $sstate = mysql_result($result,$i,"sstate"); $szip = mysql_result($result,$i,"szip"); $phone = mysql_result($result,$i,"phone"); $fax = mysql_result($result,$i,"fax"); $email = mysql_result($result,$i,"email"); PRINT "Personal Information

Name:$name     
Email:$email
Phone:$phone
Fax:$fax

Billing Address

Address:$address
City:$city State:$state
Zip:$zip

Shipping Address

Address:$saddress
City:$scity State:$sstate
Zip:$szip

"; $i++; ENDWHILE; ENDIF; ?> "; ?>
None
"; ELSEIF ($number > 0) : WHILE ($i < $number): $amount = mysql_result($result,$i,"cartitems.amount"); $price = mysql_result($result,$i,"cartitems.price"); $pname = mysql_result($result,$i,"productlist.name"); $iid = mysql_result($result,$i,"cartitems.iid"); PRINT ""; $temptot=$temptot+$price; $i++; ENDWHILE; ENDIF; $query = "SELECT $temptot*1.00"; $result = MYSQL_QUERY($query); $newtot = mysql_result($result,0); $otherttoatal = mysql_result($result,0); $rmtot = number_format($newtot,2); print ""; IF ($state == 'FL') : MYSQL_CONNECT() OR DIE("Unable to connect to database"); @mysql_select_db( "mfdcart") or die( "Unable to select database"); $query = "SELECT $newtot*1.065"; $result = MYSQL_QUERY($query); $newtot = mysql_result($result,0); $query = "SELECT $otherttoatal*.065"; $result = MYSQL_QUERY($query); $fltax = mysql_result($result,0); $rmtax = number_format($fltax,2); $rmtot2 = number_format($newtot,2); print ""; print ""; ELSE: print ""; ENDIF; ?>
QuantityProduct NameTotal
$amount$pname$$price
Subtotal$$rmtot
Florida State Sales Tax$$rmtax
Total Amount Due$$rmtot2
Total Amount Due$$rmtot


Payment Information

Select Card Type  



*Name on Credit Card:
*Card Number:
(example1234432112344321)
*Expiration Date:
(example 0507)


"; ?> "; ?>

    "; ?>