Jump to content
Larry Ullman's Book Forums

Recommended Posts

Not sure that this comment doesn't belong in the Errata rather than the forum. Nevertheless... I've just begun reading PHP Advanced and OOP as part of the Boston PHP Percolate virtual course. Script 1.1, aka sort.php, includes an HTML <link> statement in the <head> to specify the css file as "style.css". I found "style.css" among the downloaded files. However, it resides in the root directory, not in the ch01 directory.


Shouldn't the href parameter of <link> point to "../style.css"


<link rel="stylesheet" href="../style.css">


I assume this correction is required for all scripts (unless you're using different stylesheets).



jeff tash


PS I met you when you presented at the Boston PHP 10th Anniversary meet-up... very much enjoyed your presentation

Link to comment
Share on other sites

Hey Jeff,


Thanks for coming out that night and thanks for the nice words on the presentation. I put the CSS file in the root directory of the downloads because it's used by many of the examples. The downloaded code isn't arranged to be used as is. So it's not an error in the book, it's a matter of if you're going to use my code, you'll need to put the pieces together accordingly, which is something I assume an intermediate PHP developer will know to do.


Thanks for the question, though, and I hope you like the book.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...