Shopping cart

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

x_mutatis_mutandis_x
Forum Contributor
Posts: 160
Joined: Tue Apr 17, 2012 12:57 pm

Re: Shopping cart

Post by x_mutatis_mutandis_x »

abbey4biz wrote:same thing:

your cart is empty now only
Have you removed the '@' symbol before the mysql_query? Are you giving the right connection parameters to mysqli_connect()?
abbey4biz
Forum Commoner
Posts: 32
Joined: Wed Nov 23, 2011 12:25 pm

Re: Shopping cart

Post by abbey4biz »

Am still not getting this. Please can somebody help out.
abbey4biz
Forum Commoner
Posts: 32
Joined: Wed Nov 23, 2011 12:25 pm

Re: Shopping cart

Post by abbey4biz »

Hello.

I have been able to get this cart work, but it keeps giving me the wrong values each time I add to cart.

For example, instead of adding 1, it adds 2 on first click and so on like that.
Please can you help out with this???

Thanks.
abbey4biz
Forum Commoner
Posts: 32
Joined: Wed Nov 23, 2011 12:25 pm

Re: Shopping cart

Post by abbey4biz »

Yes i have removed the @ before the mysqli and also have the right connection details
Post Reply