Explore BrainMass

How to connect to a database with php

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!


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,

© BrainMass Inc. brainmass.com December 20, 2018, 1:49 am ad1c9bdddf

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.