• Saturday , 4 April 2020

PHP MySQL Tutorial: Connect to a MySQL Database -HD-

Code Canyon



In this tutorial, you will learn how to connect to a MySQL database using PHP. Be sure to SUBSCRIBE because there will be a new tutorial every week. Follow …

Original source

3d Ocean

Related Posts

36 Comments

  1. vanred84
    December 4, 2017 at 14:33

    BROVO

  2. 42
    December 4, 2017 at 14:33

    BRAVO!

  3. Ghalem
    December 4, 2017 at 14:33

    BRAVO

  4. Bokang Maruapula
    December 4, 2017 at 14:33

    Thanks

  5. Merve Akduman
    December 4, 2017 at 14:33

    wowwww thanks)

  6. TechZonk
    December 4, 2017 at 14:33

    Excellent tutorial! Posted in 2010 but it holds up. Much appreciated!

  7. raypealove
    December 4, 2017 at 14:33

    great stuff, thank you very much!

  8. thinh nham
    December 4, 2017 at 14:33

    Thank you so much ! <3  😀

  9. ubecriss egao
    December 4, 2017 at 14:33

    is it difficult to make your own website  and run the  programs by my SQL or CSS !!!!!!!!!!!!!!

  10. Paul Fabing
    December 4, 2017 at 14:33

    You are using depreciated code, try     [ mysqli_connect(hostname, username, password, databasename);] 

  11. OldWayArtisans
    December 4, 2017 at 14:33

    Simply did not work. Returns a completely blank page.

  12. underworld
    December 4, 2017 at 14:33

    – Hello all customer
    – I'm a seller good,honest and always sell cvv good and fresh with high balance.
    – I work here with the desire to find good customer,and we can do business together for long time
    – I"M SELL CVV, TRACK 1 & 2, DUMPS, RDP, SMTP, ACCOUNT PAYPAL, TRANSFER WESTERN UNION, ATM SKIMMER, DATING SITE…

    * My work time is 24/24
    *Who need Contact me via Adress

    – Yahoo Messenger: undergroundgood

    – Email: undergroundgood@gmail.com

    – ICQ: 697351000

  13. vault market
    December 4, 2017 at 14:33

    – I have team group hacked the cvv and many tools,update everyday for sell.
    – I do business professional and quality.
    – I'm a seller good,honest and always sell cvv good and fresh with high balance.
    – My tools has tested before sell.
    – I hope to get many good customers and will be long time cooperation.
    I sell Cvv + RDP + SMTP+ Transfer WU + Dumps + Track 1&2 + Acc PayPal + Acc dating site…
    * Contact me yahoo ID : market.vault@yahoo.com
    Email: vaultmarketgood@gmail.com
    ICQ: 662018561

  14. 4ourTimber
    December 4, 2017 at 14:33

    I'm a beginner in MySQL and this really helped!! Thanks for the video!

  15. vault market
    December 4, 2017 at 14:33

    – I have team group hacked the cvv and many tools,update everyday for sell.
    – I do business professional and quality.
    – I'm a seller good,honest and always sell cvv good and fresh with high balance.
    – My tools has tested before sell.
    – I hope to get many good customers and will be long time cooperation.
    I sell Cvv + RDP + SMTP+ Transfer WU + Dumps + Track 1&2 + Acc PayPal + Acc dating site…
    * Contact me yahoo ID : market.vault@yahoo.com
    Email: vaultmarketgood@gmail.com
    ICQ: 662018561

  16. killokas
    December 4, 2017 at 14:33

    aaaaaarghhh I just lost 2 hours because of some stupid parentheses 🙁
    so FYI: it should be -> @mysql_connect_db($db_name) or die("no database");

  17. killokas
    December 4, 2017 at 14:33

    What makes this better than the others, is the fact that FINALLY someone speaks with some tempo… thx for that…

  18. A.L.E.X. AI
    December 4, 2017 at 14:33

    Great work sir. I have one question. Lets say that I made a program with a login form on my laptop including database where can be more than one account. And I open the same program on different computer or laptop. When user creates new account, will the program be able to send information which user input to my database or does every computer which uses this program need to have this database included on their system.
    Thank you.

  19. Loraine Zieba
    December 4, 2017 at 14:33

    Get hosting account for just 1 cent at hostgator using coupon "1centaprlmay2013".

  20. webified
    December 4, 2017 at 14:33

    in the @mysql_connect('$host','$username','$pass') or die ('Could not connect to mysql'); part did not work!!! i had to do …connect($host, $username,$pass) for it to work

  21. Atiqul Islam
    December 4, 2017 at 14:33

    Great php tutorial for SQL learning. i want to learn how to create programming custom script.

    should be include the details:

    Index.php
    user.php
    login.php
    register.php
    deleteuser.php
    contact.php etc

    can i hope any related tutorial like this?

  22. Jon Adair
    December 4, 2017 at 14:33

    thank you! nice job on the tutorial. clear and helpful.

  23. YHANYHAN REYES
    December 4, 2017 at 14:33

    what program do you use?

  24. Isaiah Robinson
    December 4, 2017 at 14:33

    When I try this I get a blank page, what causes that? I'm using linux

  25. Antonio Alaniz
    December 4, 2017 at 14:33

    I found your tutorials very helpful! Looking forward to watching more! Thanks!

  26. inquisitive35
    December 4, 2017 at 14:33

    can you zoom into the spot where you type the code, not all viewers use 20" screens… Thanks for tuorial

  27. Vaper Gamer
    December 4, 2017 at 14:33

    Running a database as root is a fail in 100 ways.

  28. ZacMacChesney
    December 4, 2017 at 14:33

    The @ sign simply prevents the thing from echoing an error, try without it, the server will echo a message onto your page.

  29. FLskater3696
    December 4, 2017 at 14:33

    nvm..lol I used a $ before mysql_connect instead of an @

  30. FLskater3696
    December 4, 2017 at 14:33

    when i run it, it tells me that $mysql_connect is an undifined varialble. and then gives me a fatal error saying that function name must be a string…..please help

  31. Pierre Mondejar
    December 4, 2017 at 14:33

    you can rap better than eminem

  32. Spenser Haszard
    December 4, 2017 at 14:33

    Very direct and easy to understand! Thank you!

  33. Paola Rivera
    December 4, 2017 at 14:33

    I get an error when I try to connect to my database and I don't know what to do, and I can't write the code here because it won't let me. Please help me!!

  34. Paola Rivera
    December 4, 2017 at 14:33

    Can you please help me out?

  35. RobBeezy4Sheezy
    December 4, 2017 at 14:33

    Finally a tutorial that actually works that isn't bloated with commentary. Thanks!!!

  36. pozypozydon
    December 4, 2017 at 14:33

    i have same problem , can u please help

Leave A Comment

You must be logged in to post a comment.