So I just started learning MySQL. I am learning from Tizag. They are using PHP files. Now I can see that the PHP files are slightly complex, I'm only 15. And they also recommended PHPMyAdmin. This GUI tool has many complicated options. So I quite don't know what to use. The tutorial till now is using PHP files like
<?php // Make a MySQL Connection mysql_connect("localhost", "admin", "1admin") or die(mysql_error()); mysql_select_db("test") or die(mysql_error()); // Create a MySQL table in the selected database mysql_query("CREATE TABLE example( id INT NOT NULL AUTO_INCREMENT, PRIMARY KEY(id), name VARCHAR(30), age INT)") or die(mysql_error()); echo "Table Created!"; ?>
So what should I use? I think these PHP files. But then again they are complex and now I am just using XAMPP. When I go for hosting on 000webhost.com(my beloved hosting service), will it be even possible to use these files? Because they have PHPMyAdmin there (I think).