I cant give you the correct syntax how to use the access-db since i only worked with mysql before.
But as far as i know access is also accepting sql-statements...
Just have a look into the odbc-connections how to do queries and how to handle the results.
in php its then simple if-then
if ($password=="ok"){ /display this html text/ }
else{/display wrong password and password-recovery/}
on how to do it excactly have a look into controlstructures in the php-manual, it isnt that hard 😉
[edit]btw, to get a hang of it you can download a free login script which some websites offer, but only use it for learning since copy&paste hardly works[/edit]