"how to create"

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
heerajee
Forum Newbie
Posts: 18
Joined: Sat Feb 25, 2006 12:33 am

"how to create"

Post by heerajee »

Hi,

I am studying php, now i want to create a shopping cart but i am not getting understand what the essential fields, techniques, table should be there.
For searching what technique is should adopt.
If any one consider this, i am thankful to him.





Very very thanks.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I'm having a hard time trying to understand what it is you are asking for. Could you try to explain in more detail? Or something more specific than "essential fields, techniques, table" ?
heerajee
Forum Newbie
Posts: 18
Joined: Sat Feb 25, 2006 12:33 am

"how to create"

Post by heerajee »

Sory,
i could not make u understand what i want,
Actually i want to create a shopping cart, but i dont know how a user will be known with his products and how will we display the products of the specific user(when he clicks on the shopping cart), what the refrence will be used to know a user.
what should we do, when the user clicks on the checkout.
what is advantage of a registered user on the shopping cart during shopping.
how the product will be known in the data base.

May u got my point now.

Thanks.
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

If I were you I would read some tutorials, for example http://www.phpwebcommerce.com/php-mysql ... torial.php. There are also some good php books with example code for (basic) webshops.

But a webshop is something quite complicated and the risks and consequences if something goes wrong are big. I'm not talking about angry custumers not having a nice shopping experience but about security. If personal info (cc) gets stolen you might even be liable. If you take some snippets of code here and there and put it together you are blindly trusting on that code.

An alternative would be to take an existing (open source or commercial) application, which has hopefully matured a bit and has a solid foundation. But even then you have to do some research to make sure it's safe to use, and keep up with updates.
heerajee
Forum Newbie
Posts: 18
Joined: Sat Feb 25, 2006 12:33 am

"How to create"

Post by heerajee »

Thanks for your consideration.
Post Reply