Re: [PHP-DB] Re: Newbie Setup Trouble

2005-02-07 Thread J. Connolly
Mike, There is no database sepcified in your code anywhere. The line: $result = mysql_query($sql); does not specify which database you are connecting to either. You can specify the database in the line: $link = mysql_connect($host,$user,$password,$database);

RE: [PHP-DB] Re: Newbie Setup Trouble

2005-02-07 Thread Bastien Koert
Its very likely that he has installed the latest versions of mysql and php and is using the incorrect library to try and make it go...change to the latest mysqli librabry and try again basiten From: Stefan Reimers [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] Re: Newbie Setup

Re: [PHP-DB] Re: Newbie Setup Trouble

2005-02-07 Thread J. Connolly
To all, I am sorry the correct line is: mysql_select_db($link,database name) If you are missing the database name you will get an error concerning undefined function. jzf J. Connolly wrote: Mike, There is no database sepcified in your code anywhere. The line: $result =