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 practices. There a re many outdated tutorials which use mysql – these should not be used interchangeably.

45 thoughts on “Connect to MySQL with PHP in XAMPP / Create a new database

  1. cool cool cook
    i watched a 100's of video regarding this, but all of that video no going success
    you are only the one who make it success 100%

    thank you so much
    voice tone amazing!!!

    i appreciate this video since 2013

  2. i keep getting this error do you kbow whats going on:

    Fatal error: Uncaught Error: Class 'mysqli' not found in C:UsersAndy Lakrajphpprojectindex.php:9 Stack trace: #0 {main} thrown in C:UsersAndy Lakrajphpprojectindex.php on line 9

Leave a Reply

Your email address will not be published. Required fields are marked *