SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2002
    Location
    Leeds, UK
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Chapter 6, kevin Yank book

    I don't know if this has been mentioned before but in the script called cats.php, which I just downloaded from the Sitepoint/books code archive, the mysql_select_db script seems to be missing.

    This causes an 'unable to select database' error message.

    It took me a while to realise this as I am quite new to CGI programming.


    Thanks

  2. #2
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If this is not in the errata, then well spotted. I'll notify the appropriate people so they can check it out.

    Thanks
    I swear to drunk I'm not God.
    » Matt's debating is not a crime «
    Hint: Don't buy a stupid dwarf ö Clicky

  3. #3
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I've just checked the code archive and the mysql_select_db call is right where it should be: on line 13 of chapter6/cats.php...

    Have I missed something?
    Kevin Yank
    CTO, sitepoint.com
    I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
    Baby’s got back—a hard back, that is: The Ultimate CSS Reference


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •