Jump to content
Larry Ullman's Book Forums

benjamin.morgan

Members
  • Posts

    38
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by benjamin.morgan

  1. Thanks, Edward. I'm mostly going with regular exercise and less snacking (like we all know we should).

     

    I think the hardest part for people losing weight is not just eating healthy, but forgetting to exercise (moderately for around 30 minutes a day). Daily exercise boosts metabolism so the calories burn off faster. I like to run, but I know a lot of people that like riding bikes or using an exercise bike.

     

    The problem for me is that I don't like eating healthy! Plus I love coffee.

  2. I like to be safe than sorry, there has been plenty of times when I forgot that little function and couldn't get the script to work.. :( Even when I tested it it wouldn't work without the ready function.

     

    @Christoper, don't forget you can shorten the ready function to this if you like.

     

    $(function() {
    
    });
    

     

     

    Basically the point of the post was to have an input element not a paragraph element.

  3. Mine is to become more advanced with PHP and get back in shape. Hopefully be able to run 2 miles in under 14 minutes. (Gonna take a lot of work for me)

     

    What are y'alls New Year Resolutions?

  4. I get the includes to work and they show when rendering index.html but there is no styling...

     

     

    I do hope you mean index.php or the includes won't work.

     

     

    When viewing index.php view the source of the page. Click on the css link in the source. If it doesn't show the css and says something like page not found check the link. Find the stylesheet in the folder and open it in the browser. Compare the two links to check for any errors.

     

    Also make sure there are html and head tags, and all tags are closed properly.

  5. I bought the first 2 books, PHP for the Web and PHP and MySQL for Dynamic Websites, and I have looked through both. I have watched a lot of PHP tutorials online that explained the basics, but I had forgotten some of it.

     

    I decided to start with the PHP for the Web book because it goes more in depth with the actual PHP code. PHP and MySQL for Dynamic Websites goes over PHP a little, but not nearly as in depth as it is focused on more using PHP with MySQL. If you have the book PHP for the Web I would recommend that you start with that one then move on. That is what I am going to do.

    • Upvote 1
  6. Okay, when you start the phpmyadmin on the server you should create your database, you should have your username and password set.

     

    After you import you will probably have to change the database name (most hosts add a random prefix in front of the database name and username and maybe password. Once you create the database, user that accesses it and import the files, then you will have the info for the live site and you can just change it in the mysqli_connect.php file accordingly.

    • Upvote 1
  7. Yeah, In a book you can just go back to it without being recorded :). I picked up a local copy of your PHP for the Web book in our local bookstore. Actually I'm very surprised that they had it (in the 4th edition and in an okay condition) I believe the 4th edition is the latest, which is the one I picked up.

×
×
  • Create New...