Re: Re: mysql 4.0.6 gamma and php 4.3.0 .... ?
| From: | tijn | Date: | Sat, 21 Dec 2002 15:16:23 +0000 |
| Subject: | Re: Re: mysql 4.0.6 gamma and php 4.3.0 .... ? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92745@lists.php.net to get a copy of this message | ||
ok - apologies. I just realised that it was actually to do with the
table/field setup (fields with the same name in both tables) and the
specific left join query.
The sql statement used (left join) would select all columns from 2 tables,
both of which included some similar fields (ie create_id and create_date). I
did not realise that the$myrow array returned by php only includes one
result for fields from 2 tables with the same name, and that it would
overwrite the results from the first table with the second.
Tijn
"Tijn" <zen8200@zen.co.uk> wrote in message
news:20021221110510.28359.qmail@pb1.pair.com...
> The problem is related to both windows and linux - but on linux you can
> easily recompile and include the client that is included with mysql 4. On
> Windows you need Visual Studio / C++ to re-compile (as I understand
it....if
> anyone knows how to recompile php on windows using only opensource
> tools...please let me know.)
>
>
> tijn
>
>
>
> "Thomas Seifert" <thomas.seifert@myphorum.de> wrote in message
> news:20021221105648.6fadd87b.thomas.seifert@myphorum.de...
> > oh thanks, didn't notice its only related to windows.
> >
> >
> > Thomas
> >
> > On Fri, 20 Dec 2002 22:52:51 +0100 (CET) derick@php.net (Derick Rethans)
> wrote:
> >
> > > On Fri, 20 Dec 2002, Thomas Seifert wrote:
> > >
> > > > what's the exact problem with the php/mysql4-interaction?
> > > > I'm using mysql-4.0.5 and php-4.2.3 in production without any
> problems.
> > > > Ok, I'm not using any special features of mysql4 ;-).
> > >
> > > Nothing, just that the mysql extension in the Windows build is linked
> > > against the bundled mysql which is of version 3.23.53, and not to an
> > > external library with a version 4 library.
> > >
> > > Derick
> > >
> > > > On Fri, 20 Dec 2002 21:28:44 -0000 zen8200@zen.co.uk (Tijn) wrote:
> > > >
> > > > > I had a conversation with derick over email - here is a summary
for
> those
> > > > > struggeling with the same issue:
> > > > >
> > > > > 4.3 will not include the new mysql client compatible with mysql 4
> > > > > This will be included in php 4.4 / 5
> > > > > 4.4/5 will include an extension which is much more compatible with
> mysql 4
> > > > > The current CVS of php 4.4 does not yet include this new extension
> > > > >
> > > > >
> > > > >
> > > > > Hope this helps others
> > > > >
> > > > > tijn
> > > > >
> > > > >
> > > >
> > > > --
> > > > PHP Development Mailing List
> > > > <http://www.php.net/>
> > > > To unsubscribe, visit:
> > > > http://www.php.net/unsub.php
> > > >
> > >
> > > --
> > >
> >
>
> -------------------------------------------------------------------------
> > > Derick Rethans
http://derickrethans.nl/
> > > PHP Magazine - PHP Magazine for Professionals
http://php-mag.net/
> >
>
> -------------------------------------------------------------------------
> > >
>
>