How to link website with Data Base server? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

How to link website with Data Base server?

coding reviews required!

25th Jul 2018, 5:22 PM
Gull Afshan
Gull Afshan - avatar
2 Respostas
+ 1
Depends what languages and databases you are using. for php, MySQLi extension works with mySQL database, or PHP Data Objects for any other database
25th Jul 2018, 6:48 PM
JME
+ 1
Prepare your database . Database systems use accounts, with specific levels of access to each user. Your account details should include a username and password. You will also need the name and location of your database. Find all of these details before you start coding. Your Web host should be able to help you with this information if you cannot find it.Connect to your database. You will need to use one or more server side scripts to connect to your database. The following example code demonstrates making a database connection to a MySQL system within a PHP script You will need to alter the host address, username and password to reflect your own account. The process for making a connection is similar for other database systems and programming languages
26th Jul 2018, 12:24 PM
Safiya Ali