shopping bag in php - Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Webmaster Tech > Tutorials and Guides

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 12-06-2011, 05:37 PM   #1 (permalink)
Regular User
 
walter009's Avatar
 
Join Date: Dec 2011
Location: holland
Posts: 17
Default shopping bag in php

Hi,

I am wondering if i am doing my shopping bag in php right.

If someone presses on a button or url i put the itemname in a session, and make it a 3 demisional session, so: $_SESSION['bag']['itemname']['number'];

That way i in the end i just loop true all the bag's and see which items are in it and how many.

That works fine for me.

Are the other ways of improving a shopping bag or is this the common way to do it?
walter009 is offline   Reply With Quote
Sponsored Links
Old 12-12-2011, 09:46 AM   #2 (permalink)
Regular User
 
Join Date: Dec 2011
Posts: 13
Default Re: shopping bag in php

Interesting...
123samuel is offline   Reply With Quote
Old 12-12-2011, 10:26 AM   #3 (permalink)
Regular User
 
walter009's Avatar
 
Join Date: Dec 2011
Location: holland
Posts: 17
Default Re: shopping bag in php

Thank you for your contribution in the discussion. I had hoped for some more technical advise or comment, but its an intresting reply
walter009 is offline   Reply With Quote
Old 01-18-2012, 08:11 AM   #4 (permalink)
Junior Member
 
Join Date: Jan 2012
Posts: 2
Default Re: shopping bag in php

its really good. thanks for sharing.
mcfaddenlighting is offline   Reply With Quote
Old 02-12-2012, 12:05 PM   #5 (permalink)
Regular User
 
walter009's Avatar
 
Join Date: Dec 2011
Location: holland
Posts: 17
Default Re: shopping bag in php

Its kinda sad to see some geeks who probly dont even know themselfs how to do it posting useless posts.
This post is nothing more then a discussion how to set up a basic shopping bag using php.

In stead of trying to make fun of someone trying to learn and share something you could olso take the effort to awnser the question how you can improve a shopping bag.
Everyone has to start learning the basics, forums are a way of sharing perhaps useless methode, but a great souce of information how to do something or not do something.

Thanks all for your great contribution to a discussion
__________________
cms news
walter009 is offline   Reply With Quote
Old 02-13-2012, 01:57 AM   #6 (permalink)
Regular User
 
Join Date: Feb 2012
Posts: 23
Default Re: shopping bag in php

Its kinda sad to see some geeks who probly dont even know themselfs how to do it posting useless posts.
This post is nothing more then a discussion how to set up a basic shopping bag using php.


Last edited by mmggoleaaa01; 02-13-2012 at 02:07 AM.
mmggoleaaa01 is offline   Reply With Quote
Reply

Tags
php , shoppingbad

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 11:44 PM.


Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2
Webmaster Forums
Web Hosting | Chicago Web Hosting | Web Hosting