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
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
> how can i issue such statments w/o opening a connection?
I you don't open a connection, how is mysql supposed to know which db you are
talking to?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
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_q
4 matches
Mail list logo