Jump to content
Larry Ullman's Book Forums

Recommended Posts

I have been reading this very useful book on Safari Books Online but I am having a hard time using the sample code.

 

I downloaded the examples on your web site for the second edition and only found the source code for ex1, the first example.  

 

Also, I am finding discrepancies between what I have downloaded and what is in the book.  For example, right after figure 3.8 you describe creating the header.  I see no <div> tag with a class of col-9.

 

Can you assist?

 

 

 

Share this post


Link to post
Share on other sites

Yeah, so, it turns out I just posted the wrong link in one place, the right link in another. But the code was already correct online. I've fixed the wrong link now. Should be fine. Apologies again for the mishap!

Share this post


Link to post
Share on other sites

In the downloaded code for example 1, there was some test code (I assume) near the top of page.php that set some $_SESSION variables which then caused you to be "logged in" even if you hadn't logged in.  When I commented those out, the issue resolved.  This only applies to the downloaded code.  The book did not have this test code in it.

Share this post


Link to post
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.

Guest
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.

Loading...
Sign in to follow this  

×
×
  • Create New...