When attempting to add a new record to the database there appears to be no response once the Add button is clicked but the record is added to the *.db file.
The user though has no idea that the record has been added which means they either continue trying, which creates several of the same record or they give up, assuming it's not working.
A similar thing happened when the database reached 50 records and I found a line (147) in the script which read:
return "duplicate key error" if ($counter++ > 50);
I changed that to 500 and everything seemed to work again.
Now the database has 564 records so I thought it may be the same problem so changed it again to 5000 but it has made no difference. Also tried returning it to 50 but received a 500 error.
The database is at: http://www.racenet.com.au/blackbook/db.cgi?db=blackbook
The user though has no idea that the record has been added which means they either continue trying, which creates several of the same record or they give up, assuming it's not working.
A similar thing happened when the database reached 50 records and I found a line (147) in the script which read:
return "duplicate key error" if ($counter++ > 50);
I changed that to 500 and everything seemed to work again.
Now the database has 564 records so I thought it may be the same problem so changed it again to 5000 but it has made no difference. Also tried returning it to 50 but received a 500 error.
The database is at: http://www.racenet.com.au/blackbook/db.cgi?db=blackbook