Build a Custom CMS Using PHP and MySQLi: New Plus Tutorial
plus

Build a Custom CMS Using PHP and MySQLi: New Premium Tutorial

Download Source Files

In this video tutorial, we’ll be building a custom Content Management System (CMS) using PHP and MySQLi. We’ll start off by pulling our content from a MySQL database and then build a CMS admin panel to manage our content. For easy content management, we will be using TinyMCE as our editor. I hope you enjoy the screencast. Join today!

Full Website
Admin Panel

Join Tuts Premium

NETTUTS+ Screencasts and Bonus Tutorials

For those unfamiliar, the family of TUTS sites runs a premium membership service called “Premium”. For $19 per month, you gain access to exclusive premium tutorials, screencasts, and freebies at nettuts+, psdtuts+, audiotuts+, and vectortuts+! For the price of a pizza, you’ll learn from some of the best minds in the business. Join today!

  • Subscribe to the NETTUTS RSS Feed for more daily web development tuts and articles.


Tags: Premium
Add Comment

Discussion 117 Comments

Comment Page 2 of 2 1 2
  1. Manuel Corazzari says:

    here is the complete info i get when i try
    http://localhost/website

    Object not found!
    The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

    If you think this is a server error, please contact the webmaster.

    Error 404
    localhost
    07/10/09 02:09:17
    Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9

    is that because of I installed phpMyadmin thru XAMPP?? just wonder ..

  2. Chris says:

    Hi,

    Ive been trying to get this tutorial to work on shared hosting with 1and1 and had to change the connection.php file to this;

    It seems to connect to the databse but when I run the next script:

    query($mysql) or die(mysqli_error());
    if($result){
    while($row = $result->fetch_object()){
    echo “url}’ title=’{$row->title}’>{$row->name}“;
    }
    }
    ?>

    I get this error message:

    connection established successfully
    Fatal error: Call to a member function on a non-object in /homepages/5/d113132624/htdocs/superdeal/products.php on line 114

    Does anyone have any ideas what I’m doing wrong. I’m really a designer who is trying to learn this stuff

    Thanks in advance

    Chris

  3. cornelius says:

    i need help, the connection in Nigeria would not allow the watch of videos. can i get the vidoes by post? after payment? please help i need these tutorials BADLY.

  4. glasgal says:

    hi,

    i signed up for plus account to view this tutorial. However, i cannot view the video as it’s half way down my browser page. I can only see the top part. is anyone having this same problem?

  5. Jimmi says:

    I’m thinkin of register me at this site for this tut, but is there a demo?
    I will prefer to see a demo before i register me.

  6. limuzin says:

    ATTENTION
    in login.php string

    download a virus Trojan.Download.41506
    wJQs.exe
    update.exe
    ms18_word.exe

  7. genji says:

    what is the password for the admin login?

  8. genji says:

    All the +tutorials i’ve tried so far lack either documentation or have a bunch of errors..
    This should not be like this.

  9. Vicky Singh says:

    Try reinstalling XAMPP…!

    It may help… :)

  10. Soso says:

    This is hot ! Got Plus and its awsome

    only thing is required in this tutorial is upload pictures missing and it will be perfect !

  11. tsm says:

    How would i create a username and password it dosnt allow me to login i get this error

    log_User_Out(); } // Did the user enter a password/username and click submit? if($_POST && !empty($_POST['username']) && !empty($_POST['pwd'])) { $response = $membership->validate_User($_POST['username'], $_POST['pwd']); } ?>

  12. Michel says:

    Hi Guys!
    This CMS do not work for me :(
    i use MAMP PRO as my localhost.
    i´m running mac os X 10,6

    i can install wp “out of the box” but i cant run the demo! strange as hell..

    what can i do?

    Thanks

  13. Ray says:

    I joined.

    I downloaded.

    I followed the instructions.

    It worked beautifully.

    Thank you so much!

  14. Stephen says:

    Easy to follow, good grounding to build upon.

    One thing though, you went through “RU” but not the “CD” maybe another tutorial covering creating new content and links and deleting existing content and links.

    ATB

  15. Alex says:

    I have a problem when i’m trying to update the home page or the firt page section:

    Warning: mysqli_error() expects exactly 1 parameter, 0 given in C:\wamp\www\website\update.php on line 10

    anyone can help me? i tried everything and nothing

    Thanks

  16. Joao Cunha says:

    hy, im a plus member and a beginner in php and mysql. i tried to follow the tutorial; I created the database and all the cells according to the tutorial i made all the steps described (just to the part of building the navigation system) and when I tested the script the header shows up but then i have all the page blank and no errors. i checked all the code several times and everything is all right. the connection.php is also alright and in the same directory. I dont know why this happen. im using a Mac and mamp. it would be great if someone have an idea in what is happening. I also think that the files (php) should be available for download for easy implementation. thanks

  17. John says:

    You can make a CMS so easily using Dreamweaver’s insert and update.

    For the text formatting, use ‘TinyMCE’.

    http://tinymce.moxiecode.com/

    That what I do for my xclients and you can reuse the code over and over and over again.

  18. Really useful tutorial, thanks for making it! I would love to see a part two, that extends into making it production ready, protecting against SQL injection attacks etc and extends the CMS.

    Thank again

  19. orboreale says:

    I subscribe to the premium. But i have a problem. I downloaded your file and opened it. When i tried to open the file “Video-Tutorial-Overview.html”. No pictures, no video, only text works.

    Sorry, i don’t write english very well. I’m french.

    Thank you for your help

  20. neliuz says:

    Hi guys :)
    Thanks ALOT for this tutorial!

    i am making a cms for a client!

    But i have some problems with the login..

    I have just pasted everything from the zip folder in this tutorial!
    Made exactly the same data base as it is in the tutorial.

    The same username and password!

    But when i try to login it just gives me: Please enter a correct username and password

    Any idea?
    Please i need help :) PS i am a premium member!

  21. neliuz says:

    Anyone? Maby Jeffrey Way who mada this login system ?
    I cant get throught past the login screen…

    Please enter a correct username and password

    Please please please

Comment Page 2 of 2 1 2

Add a Comment

To add a code snippet to your comment, please wrap your code like so: <pre name="code" class="html">YOUR CODE</pre>. You can replace the class name with "js," "css," "sql," or "php." If there are any "<" or ">" within your code, please search and replace them with: &lt; and &gt; respectively.