![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 288 Pomógł: 12 Dołączył: 2.12.2005 Ostrzeżenie: (0%) ![]() ![]() |
Wyobraźcie sobie tabelę:
id smallint(5) unsigned not null auto_increment temat varchar(200) not null autor smallint(5) unsigned not null default '1' miesiac smallint(5) unsigned not null default '0' tresc text not null data int(10) unsigned not null default '0' I mam taki problem: chcę dodać do bazy danych tylko i wyłącznie treść newsa i używam w tym celu takiego kodu:
(IMG:http://forum.php.pl/uwaga.gif) poprawiam --- nospor Mam problem, nie chce się tabela dodawać. Wyświetla Bład podczas dodawania newsa. Co mam źle? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 288 Pomógł: 12 Dołączył: 2.12.2005 Ostrzeżenie: (0%) ![]() ![]() |
Przepraszam, już nie będę. Wydaje mi się, że dałem not null, ale nie mogę teraz tego sprawdzić, ponieważ nie mogę się z phpmyadmin połączyć. :/
EDIT: Tak jest, dałem NOT NULL, nie wiem czemu nie zwróciło błędu... Tzn. w tabelce NULL jest wartość NO Ten post edytował tommy4 2.12.2005, 15:19:46 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 7.10.2025 - 13:40 |