Français
  • PHP Tutorial - 25 - Selecting a MySQL Database


    Added on Sunday 19 October 2008 01:03:04
    by thenewboston
    69273 Views
    4.9 / 5
    12345
    138 rates
    Send this video to your friends
    Get embed code of video

    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



    facebook
  • Write your comment here...
  • TheProgrammingWorld

    Guys check out new PHP tutorials on my page
    Wednesday 08 February 2012 01:00:04
  • GamingJediPwns

    Anybody learning this for the first time might want to try using mysqli_connect() instead as it is better than mysql_connect(). You will need to google it as the parameters are in a slightly different order but pretty much all mysql_ functions have an equivalant mysqli_ function.
    Tuesday 31 January 2012 20:02:02
  • Danish13616

    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)
    Thursday 05 January 2012 16:29:41
  • PktMma

    I've been looking for decent tutorials for the last 2 weeks and now I'm finally learning something!
    Friday 30 December 2011 19:57:36
  • MCXinito95

    Why is my access denied??
    Tuesday 11 October 2011 13:00:04
  • gavin3191

    These tuts are the dogs bollocks
    Friday 19 August 2011 08:07:59
  • krishnankuta

    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?
    Thursday 28 July 2011 10:16:14
  • PCGamesification

    I love this dude.
    Saturday 09 April 2011 15:38:52
  • aalamnaryab

    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
    Tuesday 22 March 2011 16:21:31
  • Drizien

    There appears to be an error in his code. the doublepoint in the die thinghy of the connection he did in the last vid should be within the quotation marks.
    Friday 25 February 2011 05:21:18
  • Drizien

    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());
    Friday 25 February 2011 05:18:09
  • Drizien

    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());
    Friday 25 February 2011 05:17:58
  • Th3LastT3mplar

    Please help me because it says: Parse error: syntax error, unexpected ':' in /home/a2292773/public_html/con­nectionfile.php on line 5 I wrote everything like BUCKY .
    Saturday 12 February 2011 07:53:08
  • Th3LastT3mplar

    Please help me beacause it says: Parse error: syntax error, unexpected ':' in /home/a2292773/public_html/con­nectionfile.php on line 5 I wrote everything like BUCKY . 
    Saturday 12 February 2011 07:52:55
  • trappingnoobs

    @MisutaGameBoi PHP is executed server-side so by the time they see it, it's already ran.
    Monday 20 December 2010 07:44:39
  • monofono2006

    @MisutaGameBoi I was also thinking that way, but you cant look at the source code unless you hack into the database. If you check a source of a php fir it will look like an html file.
    Saturday 06 November 2010 08:31:29
  • MisutaGameBoi

    is there a more secure way of doing this? surely any noob can click "view source" and find u/p details. let us know. thanks.
    Wednesday 03 November 2010 18:40:51
  • sfgdxgfsdgdfg

    Ready to night party and meet naughty women **mworld5.info**
    Wednesday 20 October 2010 23:08:07
  • EnvyMyPower

    @Poskusin line 5... the : needs to be removed
    Wednesday 01 September 2010 17:01:24
  • derekmcgoldrick

    There is an error on line 5. The " :" needs to be removed or changed.
    Wednesday 07 July 2010 14:23:12
  • Uwak2

    Can you also teach us how can we use the mysql at xammp, thanks Bucky, I will be waiting for your reply. I have been trying to connect it, but I dont know how to setup the username, password at phpmyadmin at xammp to set up for the code. When I try I got the error coded, not connected access denied for user ODBC at localhost using password no.
    Wednesday 07 July 2010 10:04:00
  • sssubbu96

    these are really gr8 tutorials...
    Tuesday 06 July 2010 01:46:15
  • mangoprojects

    I got the "Can't Connect to MySQL server on 'localhost' (10061). Can someone suggest a solution? Thank you. - behind vfx
    Saturday 12 June 2010 01:50:17
  • mangoprojects

    @skyheero This one works.
    Saturday 12 June 2010 01:47:41
  • NWInvestor

    These tutorials of yours are great stuff for newbs like me, I really appreciate you taking the time to post them.
    Thursday 10 June 2010 11:39:50
ADVERTISEMENT
Supplements
Social Network
Tag cloud