After inserting a new row to the database,I want to get the new row ID.
If you're using MySQL as your db: http://www.php.net/manual/en/function.mysql-insert-id.php
got it ! thanks