First PHP/MySQL Project Day 1: Connecting to MySQL

To get started, I first found an example to learn from. Then I learned about a few PHP functions, and then I learned my way around phpMyAdmin, and then I finally connected to my MySQL database with some PHP code! It was pretty time-consuming, but I shrunk it down to a seven-minute screencast:

Links for Connecting to MySQL

First of all, I’m using WAMP. See the links on PHP Day 1: Getting Started for more info on that.

From the PHP manual:

And here are the threads I started on a couple forums to ask why that code worked to connect to MySQL. Some of the replies were very helpful:

I didn’t make much progress on my project, but I did learn a lot for one afternoon!

Posted on April 12th, 2007 | Leave a comment | Trackback URL

3 Comments

  1. Php Mysql project developers

    May 17th, 2007

    Sounds like a good start. The only way to learning php and is my doing php projects and you are going in the right direction. Good luck.

  2. GfxDizayn » Adım Adım PHP ve MySQL

    August 30th, 2007

    […] adım PHP ve MySQL videoları. Real Player beta ile de offline olarak kaydedeiliyor ;) (No Ratings Yet)  Loading […]

  3. Eklenti Dünyası » Adım Adım PHP ve MySQL

    December 18th, 2007

    […] adım PHP ve MySQL videoları. Real Player beta ile de offline olarak kaydedeiliyor yazar Yenibelge | Sql | Geri […]

Share Your Thoughts