Re: [PHP] Programming question - New to PHP

2006-07-02 Thread Russbucket
On Wednesday 28 June 2006 19:55, Chris wrote: > Russbucket wrote: > > I took an example of a script from the PHP documentation and try to > > connect to my database. If I leave in the or die part of line 3, I get > > nothing, if I comment out that part I get the echo message on line 4. > > > >

Re: [PHP] Programming question - New to PHP

2006-06-30 Thread Richard Lynch
On Wed, June 28, 2006 6:58 pm, Russbucket wrote: > I took an example of a script from the PHP documentation and try to > connect > to my database. If I leave in the or die part of line 3, I get > nothing, if > I comment out that part I get the echo message on line 4. > > // Connecting and selec

Re: [PHP] Programming question - New to PHP

2006-06-29 Thread Russbucket
On Thursday 29 June 2006 06:29, Jeremy Schreckhise wrote: > Try > $link = mysql_connect('localhost',$youruser,$yourpassword) or die(); > mysql_select_db('yourdb'); > > $query = 'SELECT * FROM Moses_Lake_Lions'; > if(!$result = mysql_query ($query,$link)) > { >

RE: [PHP] Programming question - New to PHP

2006-06-29 Thread Jeremy Schreckhise
hecking here } Jeremy Schreckhise, M.B.A. -Original Message- From: Russbucket [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 6:58 PM To: PHP General Subject: [PHP] Programming question - New to PHP I took an example of a script from the PHP documentation and try to connect

Re: [PHP] Programming question - New to PHP

2006-06-29 Thread Dave Goodchild
On 29/06/06, Chris <[EMAIL PROTECTED]> wrote: Russbucket wrote: > I took an example of a script from the PHP documentation and try to connect > to my database. If I leave in the or die part of line 3, I get nothing, if > I comment out that part I get the echo message on line 4. > > // Connec

Re: [PHP] Programming question - New to PHP

2006-06-28 Thread Chris
Russbucket wrote: I took an example of a script from the PHP documentation and try to connect to my database. If I leave in the or die part of line 3, I get nothing, if I comment out that part I get the echo message on line 4. $conn = mysql_connect ('localhost', 'finemanruss', 'XXXl')

Re: [PHP] Programming question - New to PHP

2006-06-28 Thread Ligaya Turmelle
Russbucket wrote: I took an example of a script from the PHP documentation and try to connect to my database. If I leave in the or die part of line 3, I get nothing, if I comment out that part I get the echo message on line 4. $conn = mysql_connect ('localhost', 'finemanruss', 'XXXl')

[PHP] Programming question - New to PHP

2006-06-28 Thread Russbucket
I took an example of a script from the PHP documentation and try to connect to my database. If I leave in the or die part of line 3, I get nothing, if I comment out that part I get the echo message on line 4. I know line three works without the or die part since I have a 2nd script that i