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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to