[Linux-programlama] php - postgresql query error

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Ahmet (corsairsoft@hotmail.com)
Date: Thu 21 Sep 2006 - 14:18:09 GMT


Merhabalar

  $dbconn = pg_connect("host=localhost port=5432 dbname=deneme user=postgres password=parola")
      or die("PostgreSQL Server bağlantısı kurulmadı");

  $listele = pg_query($dbconn,"SELECT * FROM tablo ORDER BY ID");

Warning: pg_query() [function.pg-query]: Query failed: ERROR: column "id" does not exist

ID isimli SERIAL bir alanım almasına rağmen böyle bir hata alıyorum nedenini anlamadım

Kolay gelsin

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.