Apache-Perl Integration Project |
The Apache FAQ |
The Java Apache Project |
Apache Module Registry |
The Jakarta Project |
The Apache Software Foundation |
PHP Server Side Scripting |
Apache Project |
Apache XML Project |
Apache-Related Projects |
ApacheCon |
|
|
|
internet.com
Internet News
Internet Investing
Internet Technology
Windows Internet Tech.
Linux/Open Source
Web Developer
ECommerce/Marketing
ISP Resources
ASP Resources
Wireless Internet
Downloads
Internet Resources
Internet Lists
International
EarthWeb
Career Resources
Search internet.com
Advertising Info
Corporate Info
|
|
Connecting to MySQL with PHP
Dec 2, 2000, 22 :12 UTC (0 Talkback[s]) (1536 reads) |
[ Thanks to for this link. ]
Excerpt:
In this scriptlet, we will cover how to connect to MySQL with PHP.
Note:
This scriptlet is not intended to cover all of the possibilities of PHP and MySQL interaction. It is to help with the understanding of making the database connection.
First, we make the connection using the PHP function mysql_connect() The 3 arguments we'll be passing to the function are:
1. MySQL Server Hostname - This will typically be localhost, unless you're using a remote database.
2. MySQL user name - The user name with access to the db.
3. MySQL user password - The password for said user name.
Scriptlet Url:
http://php.lansystems.com/index.php?archive=mysql_connections.inc
|
|