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

20 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.

  11. Shailendra

    August 18th, 2009

    wow…I think in future you definitly find the nice way.You are nice teacher.please contact me I want to learn more about PHP.

  12. Farihin

    October 24th, 2009

    Hi. very nice of u to put up videos of how u learn PHP mysql. Its helpful for beginners like me to see how other learn and the mistakes that made… very nice indeed. Tq Alhamdulillah.

  13. Purva

    October 27th, 2009

    hello,videos are corrupted…i have tried alot but these are not loading.
    please look at the problem.

  14. matin

    January 2nd, 2010

    How can i design flowchart for family status Mysql Database aplliction

  15. poda

    January 19th, 2010

    i am expert in php,mysql and flash. i write action script for flash also. i know javascript,jquery,ajax. i need online projects and anybody tell how to get online projects without frauds.

  16. ram

    January 31st, 2010

    i want php project

  17. sohail nawaz

    February 9th, 2010

    i want php project i know how php work

  18. php mysql developers

    February 28th, 2010

    Nice video for php beginners.

  19. Alice Kelly

    May 5th, 2010

    My online job is freelance programming on rentacoder.com and i also maintain a couple of websites.-`:

  20. mukiibi ibrahim

    May 17th, 2010

    i would like to know how to design a website for a school basing on online admission, viewing the resuits by use of php,mysql as a data base

Share Your Thoughts