Skip site navigation (1) Skip section navigation (2)

Strange browser behavior when querying PostgreSql database

From: gras(dot)christophe(at)libertysurf(dot)fr (Chris FR)
To: pgsql-php(at)postgresql(dot)org
Subject: Strange browser behavior when querying PostgreSql database
Date: 2003-09-02 14:50:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-php

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 =

I solved the problem by modifying the request :

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

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


pgsql-php by date

Next:From: CoLDate: 2003-09-02 21:35:51
Subject: Re: Strange browser behavior when querying PostgreSql database
Previous:From: Bruno Wolff IIIDate: 2003-09-01 19:01:22
Subject: Re: Get last serial (autoincrement) value

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group