hello , i need help... how to make add to cart (shopping)..

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
mekha
Forum Contributor
Posts: 112
Joined: Sat Mar 31, 2012 6:50 am

hello , i need help... how to make add to cart (shopping)..

Post by mekha »

hello , i need help... how to make add to cart (shopping)..
how to start
how many tables i need
what fields..
and how it does work ?
thank u
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: hello , i need help... how to make add to cart (shopping

Post by Celauran »

PHP shopping cart

Once you've done some work, post back with specific questions and we'll help you out.
mekha
Forum Contributor
Posts: 112
Joined: Sat Mar 31, 2012 6:50 am

Re: hello , i need help... how to make add to cart (shopping

Post by mekha »

http://topline.me/shop ... i have built all things..what i need is add to cart..shop cart ..click on more info in main page and u will see the full article of product..now i need add to cart and to see the products and edit quintety and save it..i dont know to use $_COOKIE
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: hello , i need help... how to make add to cart (shopping

Post by califdon »

I'm afraid you're expecting to learn web development by asking a short question in a forum. That's totally unrealistic. We would like to help you, but you are evidently starting with almost no knowledge of PHP, such as using cookies, and appear to be reluctant to study tutorial materials that are suggested to you. Your project is not like coding a simple web page. There are many options that only YOU can decide. And you want to modify a rather complex commercial web store design to add a shopping cart functionality. That would be a substantial project for a professional web developer to do. We can answer questions, but you are asking for someone to design your system for you.
mekha
Forum Contributor
Posts: 112
Joined: Sat Mar 31, 2012 6:50 am

Re: hello , i need help... how to make add to cart (shopping

Post by mekha »

Totally no!!!!!
i asked for tips...
like:
how many tables in mysql database
and a simple example of how cookies work
i want do design my project for trainning only with out members area
only add to cart...
so i asked only for
how many tables
and a simple example of cookies :) not to design my web :)
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: hello , i need help... how to make add to cart (shopping

Post by califdon »

If I misunderstood your questions, I apologize to you. Let me try to address your questions, then:

Nobody can tell you how many tables any database needs without knowing the entire scope of the system you are going to model with a database. There are many factors that are involved in that determination. All of them can be summed up in the statement "Each real-world entity requires its own table and each many-to-many relationship requires an additional table." The web contains many good database design tutorials, just search for the terms database relational tutorial.

Cookies are well documented, with examples, in the PHP Manual http://php.net/manual/en/features.cookies.php and http://www.php.net/manual/en/function.setcookie.php and there must be hundreds of examples in other tutorials.

I'm sorry if I sound like I'm being harsh with you, but forums are a poor primary source for learning about anything from scratch. They are very useful in dealing with a specific problem. We are frustrated when someone asks broad, general questions that would require lengthy explanations of concepts because we know that we can't provide useful help in the limited time and space we have and without a great deal of requests for additional information. I am being totally sincere when I tell you that your own interests will be better served by using the online resources available on these topics, then when you have a particular point that you don't understand, or when you try something and it doesn't work, that's when a forum is valuable.
mekha
Forum Contributor
Posts: 112
Joined: Sat Mar 31, 2012 6:50 am

Re: hello , i need help... how to make add to cart (shopping

Post by mekha »

aha....great man ;)....thank u ;)))
Post Reply