updating cart basket iframe?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
andym01480
Forum Contributor
Posts: 390
Joined: Wed Apr 19, 2006 5:01 pm

updating cart basket iframe?

Post by andym01480 »

Those e-commerce sites that have a small box with your shopping-cart contents that gets updated without reloading the whole page... how is it done?
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

You are most likely referring to AJAX. It's basically a combination of server & client side scripting. PHP and Javascript does the trick quite nicely. Search Google for it, there are some good tutorials.
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

You could also use something similar to XMLHttp tutorial (who's online example)
Post Reply