Please speak in english. It really helps articulate your problem making easier for other to help you. Especially since many here are not native english speakers anyhow.
You should add a unique id field to every table in your database. They are very useful and this is one case. It should look like this in sql:
id int auto_increment,
primary key(id)
You can then order on that field like this:
SELECT * FROM table ORDER BY id DESC LIMIT 1;
$_SERVER['REMOTE_ADDR'];
I think that's where the IP is. REMOTE_ADDR is definately the field. you can find it in the manual if I am wrong.
To see the time of their post, you will need a datetime field in your db. Setting is easy though:
INSERT INTO table (time) VALUES (NOW());
Voila!