Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> W Mysql bylo Null a w PgSQL?
noose
post
Post #1





Grupa: Zarejestrowani
Postów: 95
Pomógł: 0
Dołączył: 30.07.2003
Skąd: Gdynia

Ostrzeżenie: (0%)
-----


Witam smile.gif
Pytanko jak w temacie :]
w mysql wstawialo sie
[php:1:92cbd59169]
<?
$q= "INSERT INTO tabela VALUES(null,$cos,$bla,$itp)";
?>[/php:1:92cbd59169]
a w PgSQL?
Cytat
Warning: pg_query(): Query failed: ERROR: ExecInsert: Fail to add null value in not null attribute id . in /var/www/html/noose/zadanie/index.php on line 37

co zrobic tam wstawic :?:
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 05:00