From: Dale (dale_n_ks@yahoo.com)
Date: 01/22/03


Message-ID: <20030122163705.69514.qmail@web13108.mail.yahoo.com>
Date: Wed, 22 Jan 2003 10:37:06 -0600
From: Dale <dale_n_ks@yahoo.com>
Subject: Re: PHP and MYSQL


$db_id = mysql_connect('server', 'username');
if(!db_id)die("Could not connect to database");
mysql_select_db(database, $db_id) or die("Could not
open database");

that should work for connecting....

=====
o----------------------------------------------------o
  | The only possible interpretation of any |
  | research whatever in the "social sciences" |
  | is: some do, some don't. |
  | |
  | -Ernest Rutherford |
  o----------------------------------------------------o

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com