Mailinglisten-Archive |
On Mon, May 20, 2002 at 06:56:39PM +0200, Stefan Ernst wrote:
<snip>
> $conn = pg_connect("host=localhost port=5432 dbname=test user=Administrator");
> // gibt "resource(1) of type (pgsql link)"
>
> $res = pg_exec($conn,"SELECT * FROM test");
> // Fehlermeldung: Warning: pg_exec() query failed: ERROR:
> // Relation "test" does not exist in ... on line 5
>
> Obwohl selbiges Query in der Commandline funktioniert.
> Ich hoffe jemand kann mir helfen, danke!
sicher, dass er a) die richtige db connected hat und b) diese auch
die table test enthaelt ?
~-n
--
Enrico Weigelt == metux ITS
Webhosting ab 5 EUR/Monat. Server-Housing ab 50 EUR/Monat.
www: http://www.metux.de/ phone: +49 36207 519931
email: contact_(at)_metux.de cellphone: +49 174 7066481
php::bar PHP Wiki - Listenarchive