someoneneedshelps
Technical User
Hi
I'm trying to build a insert statement, on the first call from the form this information is filled is
the second call is for a shipping cost then replace shipping_cost variable with the users input, what would be the best way to go about this? build a query on the address bar or session vars?
I'm trying to build a insert statement, on the first call from the form this information is filled is
Code:
$sqlstatement = "INSERT INTO auctions (user,title,subtitle,starts,description,pict_url,category,secondcat,minimum_bid,shipping_cost,shipping_cost_additional,reserve_price,buy_now,auction_type,duration,increment,shipping,payment,international,ends,current_bid,closed,photo_uploaded,quantity,suspended,relist,relisted,num_bids,sold,shipping_terms,bn_only,bold,highlighted,featured,current_fee,tax,taxinc,asking,item_condition,item_manufacturer,item_model,item_colour,item_year) VALUES (".$_SESSION['WEBID_LOGGED_IN'].",'".$titlestr."','','" . time(). "','".$descstr."','".$image_name."',278,0,".$pricestr.",".$shippingcoststr.",0,0,".$pricestr.",'1',30,0,'1','paypal','0','".$endtime."',0,'0','0',1,0,2,0,0,'n','','".$binY."','n','n','n',0,'n','y','','".$condstr."','n/a','n/a','n/a','n/a ')";
the second call is for a shipping cost then replace shipping_cost variable with the users input, what would be the best way to go about this? build a query on the address bar or session vars?