Re: Strange browser behavior when querying PostgreSql database

Поиск
Список
Период
Сортировка
От Grant Henderson
Тема Re: Strange browser behavior when querying PostgreSql database
Дата
Msg-id 31EA81C61A3D014F8D6933864F32C60413C881@server1.fusion-advertising.co.uk
обсуждение исходный текст
Ответ на Strange browser behavior when querying PostgreSql database  (gras.christophe@libertysurf.fr (Chris FR))
Список pgsql-php
Perhaps you are referencing a table (b) that has not been included?
-----Original Message-----
From: Chris FR [mailto:gras.christophe@libertysurf.fr]
Sent: 02 September 2003 15:50
To: pgsql-php@postgresql.org
Subject: [PHP] Strange browser behavior when querying PostgreSql
database


Hi,

I have a problem in a php script :

when I execute it via Internet Explorer , sometimes the source is
complete (no problem), sometimes the source is incomplete (the html page
is cutted), and sometimes the browser doesn't display anything and wait
and wait and wait ....

The problem comes from a request I peform in this PHP script :

when I do the following request I have the problems quoted above :

SELECT a.* FROM a WHERE a.idf = b.id

I solved the problem by modifying the request :

SELECT a.* FROM a, b WHERE a.idf = b.id

Now the script works.

But I don't understand why the first request causes those problems ?

Is the first request has a correct syntax ? ( when submitted to
Postgres, there is no error message , and the results are displayed) Is
it due to PHP ? or PostgreSQL?


Thanks in advance,


Christophe Gras

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


В списке pgsql-php по дате отправления:

Предыдущее
От: gras.christophe@libertysurf.fr (Chris FR)
Дата:
Сообщение: Strange browser behavior when querying PostgreSql database
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Strange browser behavior when querying PostgreSql database