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? Quote 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. Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/202038-post/#findComment-1059533 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.