Sorry, but this is a bit vague still.
What db are you using, and have you looked through the code library. There's some sample code there for a couple tasks a lot like this, mostly well documented.
try cutting and pasting some of that stuff in.
It's pretty straight ahead, what you'll do is something like this to display records:
connect to database
generate query
execute query
loop across result set
To insert a record, you'll
show user form
accept form on processing page, parse form vars
connect to database
generate insert query
execute query
report errors if any, otherwise return to whatever parent program.
If you're using mysql, you'll need mysql_connect, mysql_query, mysql_result, mysql_fetch_result, stuff like that.
Have you created a table to work with yet? If you don't have access to the console on the target machine, look at installing something like phpmyadmin on it.