RE: [PHP] Re: Connecting to a DB using PHP and mysql...

2002-04-02 Thread Rick Emery
> > - Original Message - > From: Rick Emery <[EMAIL PROTECTED]> > To: 'Anthony Ritter' <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Tuesday, April 02, 2002 12:31 PM > Subject: RE: [PHP] Re: Connecting to a DB usin

RE: [PHP] Re: Connecting to a DB using PHP and mysql...

2002-04-02 Thread Rick Emery
]] > Sent: Tuesday, April 02, 2002 1:08 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Connecting to a DB using PHP and mysql... > > > Craig, > I tried the following. > > I was able to connect to mysql but not to the database "contacts". > > TR >

RE: [PHP] Re: Connecting to a DB using PHP and mysql...

2002-04-02 Thread Rick Emery
at the mysql command line, type: mysql> show grants for johndoe@localhost; what does it show? -Original Message- From: Anthony Ritter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 1:08 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Connecting to a DB using PHP and my

[PHP] Re: Connecting to a DB using PHP and mysql...

2002-04-02 Thread Anthony Ritter
Craig, I tried the following. I was able to connect to mysql but not to the database "contacts". TR ... "; echo"First NameLast NameemailState"; while($row=mysql_fetch_array($mysql_result)) { $fname=$row["fname"]; $lname=$row["l

[PHP] Re: Connecting to a DB using PHP and mysql...

2002-04-02 Thread Craig Donnelly
Try this for your connection: - - Hope it helps ya, Craig "Anthony Ritter" <[EMAIL PROTECTED]> wrote in messa