Hello Everyone i need help connecting my site to a database..
Either MySQL or PHP Which Is better.

MySQL is a DBMS(Database Management System) and PHP is a scripting language.
You have to use PHP and SQL to connect to your database which is managed by MySQL.

There is now better or worse cause these are not the same to be compared against each other.

mostafadotnet is right. Here is a detailed tutorial to connect to MySQL using PHP.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.