Diving into PHP: Day 10

I promised you last week that we’d begin working with databases in Day 10. I’ll show you how easy it is to get up and running with MySql. We’ll also review the correct way to retrieve information from our new database.

Day 10: Getting Started With MySql

Be sure to click on the “Full Screen Toggle”.

Download the Source Code


  • Brian Long says:


    Great video, I am pretty well familiar with PHP / MySql & Aptana. Wondering though, do you have a simple way that I could do something like your default template with jquery? Is that a config file you’d be willing to share?

    Best Regards,

  • codekid says:

    You’ve jumped the gun a bit on this tutorial. 1-9 were great but you quickly entered OOP with out explaining instances and objects which will confuse most beginners. Great job ,keep them coming.

  • Brian says:

    What do you mean by lock down? Does that mean if you patch in the name, location and passwords of your served database it will be secure?

  • Minero says:

    First of all, great tutorials. They’re really helping me out since i’m totally to php.

    Just got Aptana and i was wondering about how to customize it, or if something is happening with my installation, because it doesn’t highlight the php code i write. I did download the plugin and restarted the IDE when asked to.

    Figured i had nothing to lose in asking here, i’ll be looking onto that.

    Thanks again.

  • Dan B. Lee says:

    I’ve watched all of the days so far but this one here is getting me really excited about where you are taking this series. Should be great from here on out. Thanks a heap for all of your hard work with this.

  • Ronald H. says:

    Jeffrey you do the best video tutorials I’ve ever seen. You should get an award. If its at all possible, could you do some good tutorials on css and jquery? This would be very helpful to me. Thank you.

  • Dorin says:

    i have this error 1064

  • Josh says:

    Fantastic Tutorial Jeff, thankyou very much, learning a lot from the PHP series. Keep up the great effort!

  • Sylvin says:

    Good Tutorial thx !
    You need PHP5 on your server to use the mysqli class.
    If you don’t have PHP5, I think you need to use the traditional mysql_connect method I guess ?