[thelist] syntax for mysql_query

Nan Harbison nan at nanharbison.com
Fri Apr 25 11:30:11 CDT 2008

Thanks to everyone who responded!

-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Ken Snyder
Sent: Wednesday, April 23, 2008 4:57 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] syntax for mysql_query

Paul Bennett wrote:
> Hi Nan,
> I've never needed to pass the database connection handle to mysql_query()
and have never had any problems as a result.
> (7 years PHP / MySQL experience, a good portion of it on high-load 
> applications.)
> Others may differ in opinion?
> Paul
Yes, mysql_query() should work fine without passing the handle unless for
some reason you need to connect to two different database servers in one

- Ken Snyder

* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester and archives
of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! 

More information about the thelist mailing list