Re: data from database

From: Date: Tue, 28 Oct 2003 20:11:05 +0000
Subject: Re: data from database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-167926@lists.php.net to get a copy of this message
Gregory Kornblum wrote:
$result = mysql_query($query)
You need to pass the connection resource returned from your mysql_connect call as a second parameter. Regards. -Gregory
While it is a good practice to do this, it is not necessary... "If link_identifier isn't specified, the last opened link is assumed. If no link is open, the function tries to establish a link as if mysql_connect() was called with no arguments, and use it. The result of the query is buffered." -- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#167926) next »