asuperstar103 Posted December 23, 2008 Share Posted December 23, 2008 I am trying to learn how to use php. I know a lot about HTML, but have only been trying php out for about 6 months now. I have found the hardest thing with PHP is implementing my shopping cart. I am trying to install a php cart and I'm sure that I am making this way harder than it should be. I have so far been able to work with the view cart page and have it working just fine. My products are adding to the cart and appear correctly. My problem lies at checkout. I have a rough draft of my customer info. page and a continue button at the bottom of this page. The continue button is suppose to take my customers to the checkout.php page so they can input their shipping address and pmt. info. When I click on the continue button as it is now it simply does a sort of refresh and erases my input? Can anyone help? Not sure if I need to post my php code here or if it just gets viewed with the view source page. Here's a link to my customer.php page: http://superflywatches.com/customer.php If more info. is needed please do let me know. I am really frustrated because I thought this would be simple and it has now taken me more than two wks. to get this cart to work. I just don't know what else to check? :'( Quote Link to comment https://forums.phpfreaks.com/topic/138214-php-shopping-cart/ Share on other sites More sharing options...
Maq Posted December 23, 2008 Share Posted December 23, 2008 Not sure if I need to post my php code here or if it just gets viewed with the view source page. No... Browsers only display the rendered HTML. PHP lives only on the server. You have to post your code. Make sure you use code tags. Quote Link to comment https://forums.phpfreaks.com/topic/138214-php-shopping-cart/#findComment-722675 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.