View Full Version : Here we go again...

Jim Morris
01-21-2003, 03:21 AM
I originally presented this question in the MySQL forum section, but received more of a battle over who's answer was better than the other's, and left me just as confused as when I began. So, maybe it will be easier to get an understandable answer in the PHP section. Here goes... again:

I've seen on some shopping carts the following scenario, but can't figure out how it's done.

You buy something on a cart, then, a box appears stating that... "Customers who purchased this item also purchased ...whatever". It also shows "Customers who looked at this item also looked at ...whatever".

I've also seen a box that contains a running $$$ total of all things that have been purchased during a customers visit to the site, which is viewable at all times by the customer.

I've spent a lot of time trying to learn PHP, but am being told by a friend who is new to ASP programming that is more of a ASP scenario. Is this true, or will PHP work just as well?

It's an awesome feature on a shopping cart, but I can't even begin to understand how they do it.

Thanks in advance,

01-21-2003, 10:32 AM
Several answers given here (http://www.codingforums.com/showthread.php?s=&threadid=11731).

Running totals are simple based on the current customer's order and a total of their orders. This is very simple to do.

This can be done in either asp or php. Both are flexible code bases, and capable of most things. I'm not sure why anyone would suggest that asp is better at this problem than php. Either are equally capable of doing it.

01-21-2003, 02:51 PM
As pointed out you already have a topic open for this discussion. Closing thread.....