Subject | Re: [firebird-support] Weird php and firebird problem, repeating values |
---|---|
Author | Lester Caine |
Post date | 2005-12-12T12:59:42Z |
Fabio Gomes wrote:
libraries?
If it is a PHP problem then we should discuss it on the firebird-php list ;)
you are expecting them in the results.
through the results. I presume that CIDADES.CID_ESTADO provides the
third column? is it a string or a blob?
Need more information to go any further!
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Treasurer - Firebird Foundation Inc.
> I dont know if this thing is a php problem or a firebird problem.. i neverThen we need to know what you are using - version of PHP, and any other
> saw something so weird in my life... the problem is the folowing:
libraries?
If it is a PHP problem then we should discuss it on the firebird-php list ;)
> I have a query, this one:I would recommend loosing the '*' and providing the field names since
>
> SELECT CLIENTES.*, CIDADES.CID_NOME, CIDADES.CID_ESTADO
> FROM CLIENTES
> JOIN CIDADES ON (CLIENTES.CID_COD=CIDADES.CID_COD)
you are expecting them in the results.
> It works fine, but the problem is in the results, it takes a value, andBefore going to the next step we need to know HOW you are stepping
> keeps printing the SAME value in all the rest of the results, but the weird
> stuff.. is that it prints one line, skips one and print the value again like
> this:
>
> ID, NAME, COMENT:
> 01, name1, repeated value
> 02, name2, skip this
> 03, name3, repeated value
> 04, name5, skip this
> 05, name6, repeated value
> 06, name7, skip this
> 07, name8, repeated value
> 08, name9, skip this
>
> The ID and NAME are correts, and the other two values keep repeating, here
> are my REAL results, its kinda messy ok?
through the results. I presume that CIDADES.CID_ESTADO provides the
third column? is it a string or a blob?
Need more information to go any further!
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Treasurer - Firebird Foundation Inc.