PHP Tutorial: Make a Guestbook (1/2)




In this video I demonstrate how to create a guestbook using PHP. This is a simple project and great for beginners. Source Code: https://www.heytuts.com/

Original source


25 responses to “PHP Tutorial: Make a Guestbook (1/2)”

  1. ok so who can help me with this…..
    So I would like to use this guestbook on the member page i created following the other tutorials. This means that the member needs to be logged in to submit a post. On the guestbook form it would be nice to have name and email address already filled in from our members database. Not to sure how to go with that…. anyone?

  2. Hi Mr Nick Frosty, thanks for all these tutorials. I am half way through setting up the Member System and was looking ahead at this Guestbook tutorial! I would like to use this guestbook for the members to post messages on the page. So i would set this up as the member area. Pretty forward adding this php in our previous created 'members.php' ??
    The only thing I would like to see is for my members to be able to upload a picture with that. And that might be a problem. Any thoughts about that?

  3. Please repost the source code. The current link is invalid.

    I am getting the following error:

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hermes/bosweb26d/b1442/ipg.dzikizachodcom/bezkres/index.php on line 17 No posts were found.

    Does anyone know what might be the reason. My line 17 is:

    $numrows = mysql_num_rows($query);

    Please help!

  4. one of the best tutorials i've seen of PhP and MySQL… by far! Keep doing tutorials you are doing really great. Oh and youäve got a nice voice to listen too aswell.

  5. @MrNickfrosty dude i have a problem dealing with adding data to database it always appears pls complete all the requirements..this is my code
    //add to db

    mysql_query("INSERT INTO guest VALUES ('','$name','$email','$message','$time','$date','$ip')");

    echo"Your Posts has been added";
    }
    else
    echo"Pls complete !";

    }

  6. @MrNickfrosty also on ur forum i posted for my friend forum?forum=2&cat=4&topic=76 he has 9k subs but it wouldnt let him make a account plz help us with or site all the passwords no matter wht u enter turn into the same thing

  7. @MrRaefon PHP is used for the back end programming of a website. It allows web sites to be run from a database and have user driven content that changes instead of having a page with some text that never changes.

  8. I know you make member login tutorials but do you thing you can make a basic php tutorial i know some things like echo and ifs but i would like to learn basic b4 i learn all this crazy stuff please reply or if not please link some php tutorials you used? so i can get the hang of it

Leave a Reply