Your Daily Source for Apache News and Information  
Breaking News Preferences Contribute Triggers Link Us Search About
Apache Today [Your Apache News Source] To internet.com

Apache HTTPD Links
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

  Current Newswire:
Everything Solaris: Apache: Handling Traffic

LinuxEasyInstaller 2.0 final release

Apache 2.0.32 beta is available

Everything Solaris: Apache: The Basics

Apache Jakarta James Mailserver v2.0a2 Released

PostgreSQL v7.2 Final Release

Daemon News: Multiple webservers behind one IP address

Zend Technologies launches Zend Studio 2.0

NuSphere first to enable development of PHP web services

Covalent Technologies raises $18 million in venture capital


No talkbacks posted.
Enter your comments below.
Your Name: Your Email Address:


Subject: CC: [will also send this talkback to an E-Mail address]
Comments:

See our talkback-policy for or guidelines on talkback content.

About Triggers Media Kit Security Triggers Login


All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux 2.4, Apache 1.3, and PHP 4
Copyright 2002 INT Media Group, Incorporated All Rights Reserved.
Legal Notices,  Licensing, Reprints, & Permissions,  Privacy Policy.
http://www.internet.com/