473,386 Members | 1,860 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Looking for shopping example:

Hello,

I recently bought a text on php scripting, and was trying to write
basic shopping example to explore the langauage. I would like to
achieve a site which allowed the user click one or two buttons. And we
kept a count of number of hits. My thought was to use the $_SESSION
tool to store the number of clicks, and when the user clicked the grey
submit buttton. The $_Session values would be passed to the another
php script.

$_SESSION["item1"] = 0;
$_SESSION["item2"] = 0;

My book does not include such an example, and I would much appreicate
if anyone could proivde a example similar to what I hoping to achieve.

Or just some written guidance how I could achieve this example.

Thank you
Jul 17 '05 #1
1 1541
An***********@aol.com (Antoni) wrote in message news:<93**************************@posting.google. com>...
Hello,

I recently bought a text on php scripting, and was trying to write
basic shopping example to explore the langauage.


<snip>

Do you mean this <http://groups.google.com/groups?selm=note-21748%40php.net>??

--
| Just another PHP saint |
Email: rrjanbiah-at-Y!com
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Phil Powell | last post by:
I need a back-to-basics shopping cart tutorial in PHP/mySQL. I thought I had it down and I failed, as usual. Here is what I mapped out as a spec: 3) initial work on bestilling.php to contain the...
1
by: Stuart | last post by:
Can anyone recomend a good shopping cart script or an example of how to make one. I'm currently using http://www.mals-e.com free shopping cart script that they host. unfortunatly because they...
1
by: madison | last post by:
Hi, I am trying to start a website using paypals shopping cart function. If i have 10 items and they sell out, how do I make it so the item is then listed as sold out. The next person would not...
3
by: Bruce W...1 | last post by:
There are lots of examples out there of ASP.NET shopping carts, but they all stop short of SSL. If someone knows of a shopping cart example that get in to code for digital certificates please show...
0
by: John Dalberg | last post by:
Hi I want to offer web hosting and I am looking for a shopping cart server license for many sites which I can offer for my customers. The ones I have seen, the license costs more than a thousand...
7
by: isaac2004 | last post by:
hi i have a basic asp page that acts as an online bookstore. on my cart page i am having trouble generating 3 numbers; a subtotal, a shipping total, and a final price. here is my code i would...
3
by: Samuel Shulman | last post by:
Hi I need to implement a shopping basket for my e-commerce website Scenarios are as follows 1. Website to offer shopping basket for all visitors including those who didn't log 2. Website...
1
by: jecha | last post by:
I'm implementing a shopping cart but am having a problem in checking out a person who has added item in his/her shopping busket.The code for the checkout.php script is given below <?...
0
by: jools | last post by:
Slightly off topic I know but I'm asking here because I need a PHP shopping cart and thought the writers of such things might hang out here and know of one I'm using the Data Minion program...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.