Re: [PHP] data from database
From: John Nichel (jnichel_at_by-tor.com)
Date: 10/28/03
- Next message: Gregory Kornblum: "RE: [PHP] data from database"
- Previous message: Alain Dhaene: "data from database"
- In reply to: Gregory Kornblum: "RE: [PHP] data from database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Oct 2003 14:11:05 -0600 To: php-general@lists.php.net
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
- Next message: Gregory Kornblum: "RE: [PHP] data from database"
- Previous message: Alain Dhaene: "data from database"
- In reply to: Gregory Kornblum: "RE: [PHP] data from database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|