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 = mysql_
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 Tr
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);//