Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How to create a CMS with PHP // Part 2 - Getting rows from our database

Loading...

Sign in or sign up now!
28,203
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 22, 2009

In this series I'll show you how to make a CMS with PHP using modern techniques using Classes and Functions to get the best result on your page.

  • likes, 5 dislikes

Link to this comment:

Share to:

Uploader Comments (ScoobyDooobyD00)

  • This still isn't really modern... most new stuff is following the MVC model these days.

  • I logged into my other account, sorry if there was any confusion.

  • You really do have some pro tutorials.

    Thankyou.

  • Your Welcome, Thanks

Top Comments

  • I have followed this, all i get in my index.php is:

    get_content()") ?>

    Any solutions?

    Thanks

see all

All Comments (58)

Sign In or Sign Up now to post a comment!
  • Awesome tutorial! 5*

    First php tutorial I saw and already understand it well and finally mysql actually worked with me! YAY!

    But anyway, I believe the charset (collation) on the database is wrong to me, letters like "é" appears as a "?" looking like some symbol. which Collation should I use for body and title?

    Thanks for reading,

    *reply by anyone is appreciated too! :)

  • Hello .. thank you for your tutorial .. i am facing problem with get_content()

    Call to undefined function get_content()

    can you help me solving it?

  • Man you are the best but i need some tut about DB :D

  • I don't see a point in using a class.

    For a global connection I just use an external file.

    include 'scripts/SQLconnect.php';

  • I've tried to follow the tutorial but I get this error "Access denied for user 'ODBC'@'localhost' (using password: NO)" - what should I do to solve this problem?

  • @supervoodoob

    Hi, I had the same error, you've spelt one of the commands wrong, I fixed it by removing all of the text and just starting again in that function.

  • @ScoobyDooobyD00 - I've been trying to learn PHP for a while, but practicing code bit by bit just isn't sticking in. I'm hoping by doing a project (a CMS) I'll learn better.

    But what I'd like to know is, in your tutorials, will you be showing ways of securing the CMS from things like SQL injection, spam etc?

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more