PHP how to connect to MySQL database

Поділитися
Вставка
  • Опубліковано 15 жов 2024
  • #PHP #course #tutorial
    PHP connect to XAMPP MySQL database

КОМЕНТАРІ • 26

  • @sunsetvibes1314
    @sunsetvibes1314 4 місяці тому +2

    thank you for making the tutorials easy to learn and funny to watch , the best coding channel i discovered it.

  • @MikiHab
    @MikiHab 15 днів тому

    Your videos incredibly best and precious ❤❤

  • @erialgumacoisa
    @erialgumacoisa 9 місяців тому

    Amazing!

  • @orugantilikitha
    @orugantilikitha Місяць тому

    Connected thank you

  • @crazyboy-cw1om
    @crazyboy-cw1om Місяць тому

    Thanks bro😎

  • @OppieT30
    @OppieT30 6 днів тому

    You don't have to stop and reload the server every time you edit the files.

  • @MrLoser-ks2xn
    @MrLoser-ks2xn Рік тому

    Thanks!

  • @khabbazz89
    @khabbazz89 8 місяців тому

    thanks

  • @definitelynotje
    @definitelynotje 3 місяці тому

    thanks bruhh

  • @محمد11-ه7ن
    @محمد11-ه7ن Рік тому

    but thats dosent work for me some how
    Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in C:\Users\PC\Desktop\1\datapass.php:8 Stack trace: #0 {main} thrown in C:\Users\PC\Desktop\1\datapass.php on line 8
    it give me this i try everything can u help

    • @leslievelvy
      @leslievelvy 3 місяці тому +7

      it because of your "localhost" If you did change the number make sure to add it in your "$db_server" par example "$db_server = "localhost";" I change the number to 3307 so I would need to write it like this "$db_server = "localhost:3307";"

    • @MFS_ZK
      @MFS_ZK 3 місяці тому +1

      @@leslievelvy thanks bro you help me

    • @AshutoshShukla-t7y
      @AshutoshShukla-t7y 2 місяці тому

      @@leslievelvytx a lot. took me a hour until i find you

    • @raushan4702
      @raushan4702 2 місяці тому

      Thanks bro you saved my time​@@leslievelvy

    • @DavidYohana
      @DavidYohana 2 місяці тому

      Bro thank you very much, I get solution @@leslievelvy

  • @lololo2270
    @lololo2270 Рік тому

    Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: NO)

  • @MutyabaJames-iy4th
    @MutyabaJames-iy4th 2 місяці тому +3

    it does not connect