[profils_comments]
IDprofils
IDComment
[comments]
IDComment
IDNadawca
Data
Text
i teraz dodaje sobie komentarz
<?php $zapytanie = "insert into comments values ('', '$ IDNadawca', '$data', '$Text')"; ?>
i pole IDComment dodaje sie automatycznie o jedno wieksze od poprzedniego, jak zrobic zeby jakos do tabeli [profils_comments] wpisywac ID komentarza ktory wlasnie dodalismy do tabeli [comments] ? Zeby otrzymac cos takiego w tabelkach
[profils_comments]
1013
100020
[comments]
100020
1231
15-12-2008
Blebleble
Czy lepiej zrobic jedna tabele
[comments]
IDComment
IDprofils
IDNadawca
Data
Text