script error in program.

2006-01-11 Thread Jon Miller
Having an error in a script that I cannot figure out why it's not working. The problem is on line 15 while ($row = mysql_fetch_object ($result)). Movie DatabaseBR pre ?php // Connect to MySQL server // User name is root and password is blank $link =

Re: script error in program.

2006-01-11 Thread John Meyer
Jon Miller wrote: Having an error in a script that I cannot figure out why it's not working. The problem is on line 15 while ($row = mysql_fetch_object ($result)). What, exactly is the error? -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:

Re: script error in program.

2006-01-11 Thread Michael Dykman
A couple of things. first: as documented in http://ca3.php.net/mysql_connect, the third (optional) parameter is supposed to be the password, so if the password for root has been left blank, this connect statement cannot succeed. It may well be the only immediate problem. second: