-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with duplicate entry of data #4
Comments
Can you please elaborate, in what part you're getting error like in PHP or in specifically in Database? |
$query=mysql_query("SELECT * FROM emptype WHERE typename = '$emptype' AND typedesc='$typedesc') or die(mysql_error()); if (mysql_num_rows($query)<=0) |
has this been fixed' |
No
…On Mon, 24 Apr, 2023, 8:37 pm bofa26, ***@***.***> wrote:
has this been fixed'
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWDDWKVPDU7EA6JLVHLDMETXC2JLHANCNFSM5LYP56VQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
The best way is to refresh the page after updating the data. You can do this by first checking if data successfully updated then adding header('location: currentpage.php') |
Duplicate entry of data is taking place on refreshing the page while updating the data.
please let me know the solution to this asap!
The text was updated successfully, but these errors were encountered: