[PHP] Re: php & mysql prob...

2001-10-30 Thread Mike Frazer
I may be a little backward here but wasn't mysql_db_*() deprecated? Keep in mind it was a long day at work and I'm tired. I could be on fire right now and probably just want to open a window to cool off. :) Mike "Sc" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTE

[PHP] RE: php & mysql prob...

2001-10-31 Thread Tim Ward
Your query is invalid, hence $test is false rather than a result set. I usually do if ($test = mysql_db_query( ... )) to trap this. Don't put quotes around table or field names, in your case 'Port$p' should be just Port$p and 'Port$p'.date just Port$p.date. Tim -- From:

Re: [PHP] Re: php & mysql prob...

2001-10-30 Thread David Robley
On Wed, 31 Oct 2001 15:40, Mike Frazer wrote: > I may be a little backward here but wasn't mysql_db_*() deprecated? > > Keep in mind it was a long day at work and I'm tired. I could be on > fire right now and probably just want to open a window to cool off. :) > > Mike Since 4.06, according to t

Re: [PHP] Re: php & mysql prob...

2001-10-30 Thread Mike Frazer
So I'm NOT stupid...just dumb! :) After two years of PHP/MySQL programming you'd think I would have been more sure about that... Mike "David Robley" <[EMAIL PROTECTED]> wrote in message 01103114530808.28397@www">news:01103114530808.28397@www... > On Wed, 31 Oct 2001 15:40, Mike Frazer wrote: