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

PHP Tutorial - 25 - Selecting a MySQL Database

Loading...

Sign in or sign up now!
68,736
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 18, 2008

PLEASE, watch this video in high def here

http://www.youtube.com/watch?v=d1Qm7e0b27M&fmt=18

its much better, and make sure to subscribe to my channel!

http://thenewboston.com

Link to this comment:

Share to:

Uploader Comments (thenewboston)

  • Thanks man, yet another great tut :)

  • thanks im working on the next tutorials right now so check back in a few!

Top Comments

  • Love your vids, but be careful when you tell people to type exactly what you have. If they don't know any better, they are going to enter your typos (there's a few) and be really confused when it doesn't work.

  • Excellent!

    Thanks a lot.

see all

All Comments (57)

Sign In or Sign Up now to post a comment!
  • He hasnt created the database in this video.

    To create the database you do this

    mysql_query("CREATE DATABASE nameofthedatabse " , variable in which u have stored connect info)

  • I've been looking for decent tutorials for the last 2 weeks and now I'm finally learning something!

  • Why is my access denied??

  • These tuts are the dogs bollocks

  • well i hav a few doubts pls some1 help me in it....while trying the above i got this error:

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'username'@'localhost' (using password: YES) in D:\xampp\htdocs\connectionfile­.php on line 10

    Not Connected:Access denied for user 'username'@'localhost' (using password: YES)

    wht's the prob? & my 2nd question is it necessary to try this @domain hosted...cant it be done on localhost.is this y im getting error?

  • I love this dude.

  • i have books table

    and i displayed few fields of book in html table

    i want to further link each row with a dynamic page fetching that book's details

    like yahoo inbox page navigates to email body page when we click a specific subject in inbox page

  • There appears to be an error in his code.

    the doublepoint in the die thinghy should be within the quotation marks. liek this:

    die('Not connected :' . mysql_error());

  • There appears to be an error in his code.

    the doublepoint in the die thinghy of the connector should be within the quotation marks. like this:

    die('Not connected ::' . mysql_error());

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