-
Notifications
You must be signed in to change notification settings - Fork 140
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
Update record #2
Comments
make sure you have added query string parameters on links to update records e.g update.php?customer_id=61&operation=edit . keep "name" attribute of input type same as database column name. then use |
Hello Chetans9, Thank you for your support and quick answer. Done. I found the problem. I changed the value of "id" from a number to a Mac address but the FILTER_VALIDATE_INT was causing the problem. Something new that I detected is that when you click on save button to save the changes in the MySQL table, in the php the changes goes back to the original. |
Ok. I got it. Thanks for pointing it out. After Updating/Inserting Redirect to same page and show a session flash message. Like this :
and whatever page you are redirecting Add something like this
I was a newbie when I built this. I will fix it in later commits.. |
Hello,
First thanks for this wonderful php admin panel. One question, when I create a new element in the side bar, and I tried to make the update option works, always show the same record not matter wich row I selected. What I´m doing wrong?
The text was updated successfully, but these errors were encountered: