Explore BrainMass
Share

How to connect to a database with php

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

Hi,

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 September 26, 2018, 10:35 am ad1c9bdddf - https://brainmass.com/computer-science/php/how-to-connect-to-a-database-with-php-200189

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.

$2.19