Subject Re: [firebird-support] Weird php and firebird problem, repeating values
Author Fabio Gomes
I dont think so, i used the same function for years with mysql and i use the
same code with a LOT of firebird code, and just with THIS table i have this
problem.

I already tried to change my code to:

$var = ibase_query($id, $sql);

while($results = ibase_fetch_assoc($var)) {
echo $results['blablabla'];
}

but i get the same repeated values :(

i ve tried a lot of things, but none have worked, but in the ibwebadmin my
query return the correct value :(

But if you wanna see my code, i ve posted it here:

http://www.phpbuilder.com/board/showthread.php?t=10313979

thanx.

On 12/12/05, Lester Caine <lester@...> wrote:
>
> Fabio Gomes wrote:
>
> > I think that a screenshot could help:
> >
> > http://img231.imageshack.us/img231/4240/fb6dr.jpg
> All that shows me is that you are not clearing the fields when you load
> the next record!
>
> > The CID_ESTADO is a CHAR(2) field, and the other filelds are:
> >
> > INTEGER and VARCHAR, but both are giving me problems :(
> >
> > If you want i can upload the structure or even the database somewhere,
> but
> > this isnt the first time i had this problem with this table, the first
> time
> > i didnt manage how to fix, but it wasnt important so i exchanged one
> field
> > for another.. but now i need to export everything :(
>
>
> > thanx for any help.
>
> Perhaps you could answer the questions from the first post ;)
>
> Which version of PHP?
> Any other libraries ( like ADOdb )?
> What is the CODE you use to step through the results?
>
> I am sure this is nothing to do with what Firebird is returning, but
> rather how you are using the results. :)
>
> --
> Lester Caine
> -----------------------------
> L.S.Caine Electronic Services
> Treasurer - Firebird Foundation Inc.
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://firebird.sourceforge.net and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>
>
>
> SPONSORED LINKS
> Technical support<http://groups.yahoo.com/gads?t=ms&k=Technical+support&w1=Technical+support&w2=Computer+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+technical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+support&c=6&s=196&.sig=-XIO8GxY6hqd3NaD5WSEyw> Computer
> technical support<http://groups.yahoo.com/gads?t=ms&k=Computer+technical+support&w1=Technical+support&w2=Computer+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+technical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+support&c=6&s=196&.sig=B29J78SYXnNTjjMFBMznqA> Compaq
> computer technical support<http://groups.yahoo.com/gads?t=ms&k=Compaq+computer+technical+support&w1=Technical+support&w2=Computer+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+technical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+support&c=6&s=196&.sig=7_je1A94xs82CFXUjEqA6g> Compaq
> technical support<http://groups.yahoo.com/gads?t=ms&k=Compaq+technical+support&w1=Technical+support&w2=Computer+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+technical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+support&c=6&s=196&.sig=2zMAuRCo5cJrVBr1Bxa3_w> Hewlett
> packard technical support<http://groups.yahoo.com/gads?t=ms&k=Hewlett+packard+technical+support&w1=Technical+support&w2=Computer+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+technical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+support&c=6&s=196&.sig=_ytYU7aXb57AVaeUfmvLcA> Microsoft
> technical support<http://groups.yahoo.com/gads?t=ms&k=Microsoft+technical+support&w1=Technical+support&w2=Computer+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+technical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+support&c=6&s=196&.sig=4hRo6NXYavRAbTkaYec5Lw>
> ------------------------------
> YAHOO! GROUPS LINKS
>
>
> - Visit your group "firebird-support<http://groups.yahoo.com/group/firebird-support>"
> on the web.
>
> - To unsubscribe from this group, send an email to:
> firebird-support-unsubscribe@yahoogroups.com<firebird-support-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>
> - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------
>


[Non-text portions of this message have been removed]