Re: [PHP-DB] newbie having problem

2001-09-04 Thread George Pitcher
r 05, 2001 7:46 AM Subject: Re: [PHP-DB] newbie having problem > Jason, > > Having tried your suggestion, I see that I can connect to the server but > cannot select the db. > > Where do I go from here? > > George > - Original Message - > From: Jason Wong <

Re: [PHP-DB] newbie having problem

2001-09-04 Thread George Pitcher
P-DB] newbie having problem > > - Original Message - > From: George Pitcher <[EMAIL PROTECTED]> > To: Torgil Zechel <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Monday, September 03, 2001 11:19 PM > Subject: Re: [PHP-DB] newbie having problem >

Re: [PHP-DB] newbie having problem

2001-09-03 Thread Jason Wong
- Original Message - From: George Pitcher <[EMAIL PROTECTED]> To: Torgil Zechel <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, September 03, 2001 11:19 PM Subject: Re: [PHP-DB] newbie having problem > > if( $result == FALSE ) > > { > > echo m

Re: [PHP-DB] newbie having problem

2001-09-03 Thread George Pitcher
> if( $result == FALSE ) > { > echo mysql_error(); > } Yes - progress - its telling me that no database was selected. My code again: > > > mysql_connect ('pingu','root@localhost',''); > > mysql_select_db ('Bizplanes'); > > if ($Serial == "") > > {$Serial = '%';} > > if ($Type == "") > > {$Type

Re: [PHP-DB] newbie having problem

2001-09-03 Thread George Pitcher
I did this directly into MySQL on the LinuxPPC box: mysql> select * from biz where -> ID LIKE '%AXD%' AND -> Type LIKE '%' AND -> Con LIKE '%' -> ORDER BY ID; and this is the response: ++-+-+--+-+---+ | ID | Type