Re: php and passing implicit connection identifiers

2003-11-18 Thread Matt W
Hi Stephen,

You can always omit the connection id in PHP (unless you have multiple
connections open for some reason).


Matt


- Original Message -
From: "Stephen Fromm"
Sent: Monday, November 17, 2003 8:26 AM
Subject: php and passing implicit connection identifiers


> The connection identifier returned by mysql_connect() need not be
passed to
> calls to MySQL-related functions.
>
> What is the "scope" of this claim?
>
> In particular, if I open a connection and then call a function I wrote
> myself, which then calls a MySQL related function, can I still omit
the
> connection identifier?
>
> TIA,
>
> sjfromm


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



php and passing implicit connection identifiers

2003-11-17 Thread Stephen Fromm
The connection identifier returned by mysql_connect() need not be passed to
calls to MySQL-related functions.

What is the "scope" of this claim?

In particular, if I open a connection and then call a function I wrote
myself, which then calls a MySQL related function, can I still omit the
connection identifier?

TIA,

sjfromm


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]