hey all,
i am a bit lost on this one.
i have a single php page
it has a login form
a submit new timesheet form
and a display my timesheets table. this is updated as soon as the user submits a new timesheet.
my issue is, after a timesheet has been submitted once, the table will add a row from the database and its great. but if i page refresh, it submits another identical timesheet. this happens even if i unset all the post variables.
what is the best resolution. is there some kind of cookie i have to use? i'd rather avoid cookies. i'd also rather avoid having a second php file.
i dont fully understand the $_POST variable concept. why are they not unset?