PHP Blog Admin Panel 8: How to edit update registered user data in php mysql
Вставка
- Опубліковано 19 вер 2024
- In this video, I have taught how to edit and update data into database in php mysql.
PHP Blog Script in PHP MySQL Source Code:
www.fundacodes...
Buy me a Coffee: www.buymeacoff...
Follow us on Instagram: / funda_of_web_it
Subscribe to my Hindi/Urdu Channel: / fundaofwebithindi
Very Helpful Video Thank You
amazing video. just helped me a lot
Sir I want to amount update form in project so what code should I need to put in project please help me sir immediately
why is it my form vanishes when i put it in a loop ?
Let's debug step by step.
1st echo, that your inside button click.
Then echo your variable of inputs.
Then echo the id also for query search.
And so on.
It will also send blank value of password field in the POST request. That's why you need to echo the password value in register-edit.php file for preventing the blank password problem on updation.
Thank you
I follow all your code but why does the form disappear?
Thank you so much!!!! 😀
What if i want to do a validation of email if it still exists in the db while updating?
can you show the php code on view register at the bottom
hi. when I run the code, it remains on the code.php page instead of moving to the view-register.php page. what might be the problem?
hello sir plz can u help me....i can't use header (location:.........) for the php files those address is already included in the sidebar....plz can u suggest solution
Please how do you link the admin panel to the pages? Hence having control of the data
hey there i followe sir the tutorial but when i click button update they keep sending me to code.php and they show me this error: "Notice: Undefined index: status in C:\xampp\htdocs\AR-Fitness\admin\code.php on line 12"
hi hello sir did you find the solution
sir this problem is related on input type so the problem with checkbox you need to change it. Actually we can use the same logic which we use with role.
Text area ke liye kya lena hai
Sir please when I click on update button it delete the password in the database whiles I have not typed anything in the password
how to give server side javascript validation to these login and register forms ?
i followed every step of ur code but it wont show the edit page and it bring up an error "Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given in C:\xamp\htdocs
ewtaraba\admin\beneficiary.php on line 32
No Recored Found!" i tried i can but it wont give me result please help
Let's debug step by step.
1st echo, that your inside button click.
Then echo your variable of inputs.
Then echo the id also for query search.
And so on.
Can you add option. Multiple Author. Every author able to edit/delete their posts only admin. Admin only access every post. Is possible?
Ok. I will make a video on this. Will upload it very soon.
@@fundaofwebit thank you
i mean the table
sir i follow your codes but when I press update button it will redirect to allcode.php ? why is that happening ?
I think, it's bcz you are sending form action='allcode.php' on submit.
why its wrong even though its correct
Warning: Undefined variable $con in C:\xampp\htdocs\Project\index.php on line 95
Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in C:\xampp\htdocs\Project\index.php:95 Stack trace: #0 C:\xampp\htdocs\Project\index.php(95): mysqli_query(NULL, 'SELECT * FROM s...') #1 {main} thrown in C:\xampp\htdocs\Project\index.php on line 95
my checkbox isnt blue? why is that?
Form vanishes when put in loop, any advice!!
it's very simple, just to your register-edit href link and cross check very or you screen shot both edit-user and view-register
the id thing doesnt work on my why?
oh its actually showing its just hidden, i need to click it first for it to appear
When I run it it keeps getting stuck on code.php any ideas how to fix that
Echo each line of that button code.
Check if your form has Method=“POST”