|
|
|
Задача
допустим, так:
table test:
id int unsigned auto_increment ...
name varchar(50),
subj varchar(100),
mess text
1. insert into test (name,subj,mess) values (....)
2. select id from test where name=... and subj=... and mess=...
вот тебе и id ... последнего сообщения с такими параметрами :-)
|