nezbie Posted May 16, 2007 Share Posted May 16, 2007 Hi I have a small question, would be nice if you could give me at least some hints or point me to the right direction.. anyways: My page has a list of products in a javascript-generated table. I'd need some help with my "add to cart" -button. It's not really a shopping cart but works kinda the same way. For you to understand let's call it shopping cart. I have an inframe php-page which should display all the items i add from the products list to the shopping cart. I thought the shopping cart would use PHP session variables. Now my question is, what would be the easiest way to perform this action? I use the iFrame becase I need to use PHP in the cart and also - the main page which contains the products table should not reload itself unless user decides to (else loses search and sorting options) So, shortly: Button that contains a certain value -> when clicked, pass that value to inframe -> update this value into PHP session variable with possible inframe pagereload Any suggestions and replies are more than welcome a big thank you - nez Link to comment https://forums.phpfreaks.com/topic/51624-javascript-and-passing-values-to-iframe-some-php-perhaps/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.