Connect to MySQL with PHP in XAMPP / Create a new database




This video will discuss how to create a database using PhpMyAdmin and connect to that database using PHP- mysqli. Syntax is discussed as well as some best …

source


29 responses to “Connect to MySQL with PHP in XAMPP / Create a new database”

  1. well i tried to connect to databse in xampp through brackets but it gives me error , while i verified that php code like echo" xxxx"; runs well, but could not connect with the database ,always get some error please help

  2. I installed the xamp program on my own pc using Windows 10 and all seems fine and up and running but when i connect the mysql and follow your instruction its seems i am getting an error. I am not sure as to what is wrong here but something is telling me the directory folder for this script is incorrect.
    If i write basic php script all goes to plan using xamp but soemthing is telling me that the url of the data base is incorrect
    Any ideas?

Leave a Reply