<?php

include "func.php";

	$quantity=$_GET['quantity'];
	$paperStock=$_GET['paperStock'];
	$textStyle=$_GET['textStyle'];
	$shippingDetail=$_GET['shippingDetail'];
	$cardId=$_GET['cardId'];
        $cost=$_GET['cost'];

	$insert = "INSERT INTO paymentdetails (Quantity, PaperStock, TextStyle, ShippingOptions, UserCardId, Cost) VALUES ('".$quantity."','".$paperStock."','".$textStyle."','".$shippingDetail."','".$cardId."','".$cost."')";

	if (!mysql_query($insert))
 	{
 		 die('Error: ' . mysql_error());
  	}
?> 

