Explore BrainMass

How to connect to a database with php


I need assistance with the following problem please.

Write a short description of database connectivity with the Internet using one of the widely disseminated technologies. (i.e. using either active server pages or Java server pages or others).

Best Regards,

Solution Preview

It is becoming more and more common for internet applications to use a database in their operation. This solution demonstrates how to connect to a MySql database in a php script.

Databases are frequently on servers other than the web server where the script resides. In order to use the database the script must make a network connection to the database. Connecting to a database requires three items: the ...

Solution Summary

This solution shows how to connect to a database in a php program. It also gives a brief explanation of different database user roles and permissions.