PHP - stop calling on refresh
- by Ross
I need my class to create a new blank record when the page opens up the problem I am having is when the page refreshes it keeps incrementing by 1, if I write a session to keep the variable the next time I go back it does not increment. Any ideas?
if(!isset($_POST['record_no'])) {
echo $_POST['record_no'] =
$projects->insert__blank_project(); }
else { print "already Set";
}