A shopping cart in php will be a good example for learning. When I started using PHP, I began like most other people; the basics. I then promised to show you how to create a simple shopping cart. I have to warn you beforehand, this is not really a complex version. I figured it is smart to start with a simpler version then add more functionality to it as we proceed. So, let us get to it. I am going to do this in reverse, that is, show you snapshots of the cart then dissect the code. So, here we go!
This challenge requires whoever is taking it to get a website up and running. So, what is better than testing the waters with free web hosting and even a domain before choosing to spend some cold hard cash on a service? Sounds good to me especially since I am not expecting killer traffic any time soon! I am going to head over to 000 Webhost Inc, create an account and pick up a free domain! Excited!
After logging in, I just go ahead and start the next step as shown and described below: