Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 2. Databases > Building a Recipe Website with MySQL

2.3. Building a Recipe Website with MySQL

In our example, we’re going to build a recipe website presenting dynamic content to the user. First, we’ll need to create a database; let’s call it “recipes.” Next, we can create a couple of tables with which to populate our database and contain the content our site will present. For a start, let’s have a table to hold all our recipes, and another one containing recipe categories. Figure 2-1 gives a picture of how our basic table structure will look.

Figure 2-1. A basic relationship diagram between our first two tables



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint