RE: 'Not a valid MySQL result resource' error

2006-10-18 Thread Kristen G. Thorson
> -Original Message- > From: List [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 17, 2006 9:30 PM > To: mysql@lists.mysql.com > Subject: 'Not a valid MySQL result resource' error > > Hello, > > I'm running f.a.m.p, f =freebsd 4.7 and mysql is 3.23.52. > > Anyway, I inherited a websit

RE: 'Not a valid MySQL result resource' error

2006-10-18 Thread Jerry Schwartz
I don't see any code to attach to the MySQL server and select the data base you are using. This code might be in a part of the script you didn't show us, but somewhere there should be something like $db = mysql_connect(...); Better yet, $db = mysql_connect(...) or die("Unable to open data base!\

Re: 'Not a valid MySQL result resource' error

2006-10-18 Thread List
Philip Mather wrote: List, Without getting into the specific problem the general debug path I'd follow would be: - 1. Make sure you are actually connected to the database, you say it's the admin area? Does the admin area login with different details? try eching the result of a "select NOW

Re: 'Not a valid MySQL result resource' error

2006-10-18 Thread Philip Mather
List, Without getting into the specific problem the general debug path I'd follow would be: - 1. Make sure you are actually connected to the database, you say it's the admin area? Does the admin area login with different details? try eching the result of a "select NOW()" right at the start