• Tuesday , 12 December 2017

How to Create a VERY Simple Blog Script with PHP & MySQL

Code Canyon



http://webify.ws – In this tutorial, I will teach you how to create a very simple blog script using PHP and MySQL. This tutorial will teach you how to insert records …

source

3d Ocean

Related Posts

23 Comments

  1. WhippyTide
    April 21, 2017 at 06:32

    Website down?

  2. Tristan Schlarman
    April 21, 2017 at 06:32

    Or Rather

  3. Beth Pizana
    April 21, 2017 at 06:32

    Thank you very much I know this is old and as the guy below said probably not the most secure way to do things… But for the school project we are doing this is just the tutorial I needed to get me started.

  4. Issam el
    April 21, 2017 at 06:32

    MYSQL connection is no longer secured, this videos is outdated, the new connection is PDO that is avaible in recent php versions

  5. Mark Roberts
    April 21, 2017 at 06:32

    Does anyone know how to create a simple one line cms for an event page. Just date, venue, time. the a link for adding a new row and save or delete?

  6. Mark Roberts
    April 21, 2017 at 06:32

    Is it still possible to download the files? I notice the link is broken?

  7. syyed shoeb
    April 21, 2017 at 06:32

    nice tutorial

  8. Aneta Takh
    April 21, 2017 at 06:32

    I also struggled with creating tables. After a few hours this worked:
    mysqli_query($con, "CREATE TABLE Entries (Id INT ) ");
    mysqli_query($con, "ALTER TABLE Entries ADD Title VARCHAR(20) NOT NULL");
    Doing Auto_Increment for the ID inside the code also did not help. I set it as Auto_Increment and Primary Key from PhpMyAdmin Ddatabase interface

    as for insert.php, the following worked

    include "mysql.php";
    $user_Title = $_POST['title'];
    $user_Subtitle =$_POST['subtitle'];
    $user_Content = $_POST['content'];

    $sql = "INSERT INTO Entries (Id, Title, Subtitle, Content) VALUES ( NULL,'$user_Title', '$user_Subtitle', '$user_Content')";

    $result5 = mysqli_query($con, $sql)
    or die ("it did not work out");

  9. كاســـكۆ
    April 21, 2017 at 06:32

    i am using localhost but i cant insert any data to the db its just loading please help ?

  10. Jon Lambert
    April 21, 2017 at 06:32

    I'll love to watch your scripts man they're pretty cool I wish I can make one

  11. Alin Lazar
    April 21, 2017 at 06:32

    how can I download the files??? 🙁

  12. Jonathan Smith
    April 21, 2017 at 06:32

    do you have an newly version of this? and links working? =/

  13. Matthew Kosloski
    April 21, 2017 at 06:32

    This is much more simple:

    // connects to database
    mysql_connect("localhost", "root", "password");
    mysql_select_db("demoblog");

  14. Matthew Kosloski
    April 21, 2017 at 06:32

    What about a permalink option?

  15. PychoKammer
    April 21, 2017 at 06:32

    Great tutorial! I learned more in the last 44 min than I did surfing the web for 3 days!

  16. Christopher Pezza
    April 21, 2017 at 06:32

    helped me really understand how it functions finally!

  17. Joe Zambory
    April 21, 2017 at 06:32

    This really helped understand how mysql worked with php. I was able to complete the tutorial and got it to work. There was an issue withe dinsert.php code. the second set of code for update of the entry did not work. I think what you are showing and what the zip file has is slightly different. When I copied that piece over what I was following on the tutorial then it worked. So some mistyping was going on. Thanks good tutorial. Now show how to password the form interface and how to remove entries with it. Thanks again. Nice tutorial

  18. greysonthecat
    April 21, 2017 at 06:32

    This did not work for me.  I tried everything.  I even downloaded then used his code and changed it to my specifications.  Still did not work.

  19. greysonthecat
    April 21, 2017 at 06:32

    I did this exactly to your directions but ENTRIES was not created.

  20. greysonthecat
    April 21, 2017 at 06:32

    My table "ENTRIES" is not being created either. What is causing this?

  21. Batman
    April 21, 2017 at 06:32

    Is it possible for you to add an account system to this in the future? Thanks for the help so far!

  22. Dan Orlovsky
    April 21, 2017 at 06:32

    Please help.

    For some reason, my tables.php is not creating the tables for my database. I have checked and rechecked the code. Please help, I am sure this is what I need!

  23. Kevin Roe
    April 21, 2017 at 06:32

    THANK YOU! Believe it or not, this was exactly what I needed. I adapted a few things, but it was everything I needed! Thanks!

Leave A Comment

You must be logged in to post a comment.