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

10 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 […]

  4. wakeel ahmed ansari

    November 11th, 2008

    i want online job for php & mysql

    i am expert programmer give the project how many pay me

  5. Eanur

    December 30th, 2008

    I am well skilled on PHP & Mysql & flash.
    I try to get project on web design. Please help me.

  6. JIJO

    January 27th, 2009

    GOOD… Kp it up

  7. praveena

    January 29th, 2009

    how to write code for mp3 player connecting mysql&flash player using php

  8. kulish

    March 8th, 2009

    Im devolping my acadamic project on php and mysql, on every step i take ur support and im very thank ful to u. thank you

  9. wilson

    May 29th, 2009

    Wow, great job, for a first video it was amazing, you learn so fast, continue… I’m sure you will be a great programmer.

    greets from peru.

  10. akila

    July 3rd, 2009

    Wow, great job, for a first video it was amazing, you learn so fast, continue… I’m sure you will be a great programmer.

Share Your Thoughts