liamloveslearning Posted May 17, 2010 Share Posted May 17, 2010 Hi all, I have a cart im building where all products are stored as cookies, I need to create a button to view cart which posts the session id so to view the cart, Is it possible to use the post funtion without using it as a form? If this makes sense? Link to comment https://forums.phpfreaks.com/topic/202038-post/ Share on other sites More sharing options...
trq Posted May 17, 2010 Share Posted May 17, 2010 curl. Link to comment https://forums.phpfreaks.com/topic/202038-post/#findComment-1059524 Share on other sites More sharing options...
kenrbnsn Posted May 17, 2010 Share Posted May 17, 2010 If you're using JavaScript, then you can use do a post through an AJAX routine. It's quite easy to do if you're using a JS library like jQuery. Ken Link to comment https://forums.phpfreaks.com/topic/202038-post/#findComment-1059533 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.