Re: [PHP-DEV] Status of mysql_db_query()

2002-09-07 Thread Georg Richter
On Saturday 07 September 2002 17:07, Melvyn Sopacua wrote: > Or would you say, that your previous example is really a userland issue and > docu- mentation should provide some examples? Yes for bc-compatibitlity it should be a userland issue. I'll add some more doc-notes/explanations during the

Re: [PHP-DEV] Status of mysql_db_query()

2002-09-07 Thread Melvyn Sopacua
On Sat, 7 Sep 2002, Georg Richter wrote: GR>>> GR>>> On Friday 06 September 2002 19:17, Melvyn Sopacua wrote: GR>>> > On Fri, 6 Sep 2002, Georg Richter wrote: GR>>> GR>>> > GR>>> > One can do it, with an extra query "SELECT DATABASE()". GR>>> > GR>>> 1) Its not a good idea, to move SQL queries

Re: [PHP-DEV] Status of mysql_db_query()

2002-09-07 Thread Georg Richter
On Friday 06 September 2002 19:17, Melvyn Sopacua wrote: > On Fri, 6 Sep 2002, Georg Richter wrote: > > One can do it, with an extra query "SELECT DATABASE()". > 1) Its not a good idea, to move SQL queries into the extension instead of using api-calls. That should be the job of userland function

Re: [PHP-DEV] Status of mysql_db_query()

2002-09-06 Thread Melvyn Sopacua
On Fri, 6 Sep 2002, Georg Richter wrote: [..] GR>>> Cause the mysql-clientlib has no functionallity to determine the current GR>>> selected database ist not possible to set the previous selected(default) db GR>>> via mysql_select_db() back. The db field in the mysql structure only contains O

Re: [PHP-DEV] Status of mysql_db_query()

2002-09-06 Thread Georg Richter
On Saturday 24 August 2002 15:42, Zeev Suraski wrote: > 8 months too late I noticed that someone has deprecated mysql_db_query(). > > Can anybody explain the reasoning for deprecating it? Other than breaking > tons of sites, I don't see any advantage to it. Even for efficiency > junkies, mysql_d