On Wednesday 24 October 2001 14:33, _lallous wrote:
I think that the MySql's API allow to many queries to be executed w/o
having an open connection, example:
SELECT 1+1;
how can i issue such statments w/o opening a connection?
like SELECT NOW() ..
whenever I first run mysql_query()
SELECT 1+1 doesn't really need a connection...
or any other statments that doesn't address a table or database,
SELECT SUBSTRING('test', 1, 2);
etc etc..
I guess it is not possible though...
Kodrik [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
how can i
Hey man, when I ask you how is 2+2 you will answer - 4 but when I ask you
how is 2*3.141596535 you use a calculator. In both cases I speak with
you(make a connection). In the first case you don't need to use calc because
you don't have to use it.
PHP and Mysql are two standalone apps and when
I think that the MySql's API allow to many queries to be executed w/o having
an open connection, example:
SELECT 1+1;
how can i issue such statments w/o opening a connection?
like SELECT NOW() ..
whenever I first run mysql_query() it tries to connect w/ default connection
settings.
--
4 matches
Mail list logo