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

КОМЕНТАРІ • 38

  • @syeduzairhashmi9930
    @syeduzairhashmi9930 7 місяців тому

    Very Helpful Video Thank You

  • @stephaniembusheri
    @stephaniembusheri 9 місяців тому

    amazing video. just helped me a lot

  • @gaurishejal7443
    @gaurishejal7443 Рік тому +2

    Sir I want to amount update form in project so what code should I need to put in project please help me sir immediately

  • @edgardeleon3330
    @edgardeleon3330 Рік тому +1

    why is it my form vanishes when i put it in a loop ?

    • @fundaofwebit
      @fundaofwebit  Рік тому

      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.

  • @shanksharma5117
    @shanksharma5117 2 роки тому +1

    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

  • @chanvirakbothrith9259
    @chanvirakbothrith9259 2 роки тому +2

    I follow all your code but why does the form disappear?

  • @kareenasingh3264
    @kareenasingh3264 2 роки тому

    Thank you so much!!!! 😀

  • @poh3310
    @poh3310 10 місяців тому

    What if i want to do a validation of email if it still exists in the db while updating?

  • @rasselldelfin2591
    @rasselldelfin2591 3 місяці тому

    can you show the php code on view register at the bottom

  • @josh_5911
    @josh_5911 Рік тому

    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?

  • @sanarahman6996
    @sanarahman6996 2 роки тому

    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

  • @samuellawson9466
    @samuellawson9466 2 роки тому

    Please how do you link the admin panel to the pages? Hence having control of the data

  • @achrafrhoulam348
    @achrafrhoulam348 2 роки тому +1

    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"

    • @islomabdulloyev4860
      @islomabdulloyev4860 2 роки тому

      hi hello sir did you find the solution

    • @islomabdulloyev4860
      @islomabdulloyev4860 2 роки тому +1

      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.

  • @bigthought6351
    @bigthought6351 11 місяців тому

    Text area ke liye kya lena hai

  • @mercyappoh3749
    @mercyappoh3749 2 роки тому

    Sir please when I click on update button it delete the password in the database whiles I have not typed anything in the password

  • @madhurakamat947
    @madhurakamat947 2 роки тому

    how to give server side javascript validation to these login and register forms ?

  • @abdulubaid5691
    @abdulubaid5691 Рік тому

    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

    • @fundaofwebit
      @fundaofwebit  Рік тому

      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.

  • @okaygoogle8517
    @okaygoogle8517 2 роки тому

    Can you add option. Multiple Author. Every author able to edit/delete their posts only admin. Admin only access every post. Is possible?

    • @fundaofwebit
      @fundaofwebit  2 роки тому +2

      Ok. I will make a video on this. Will upload it very soon.

    • @okaygoogle8517
      @okaygoogle8517 2 роки тому

      @@fundaofwebit thank you

  • @rasselldelfin2591
    @rasselldelfin2591 3 місяці тому

    i mean the table

  • @HOK_PU
    @HOK_PU 2 роки тому

    sir i follow your codes but when I press update button it will redirect to allcode.php ? why is that happening ?

    • @fundaofwebit
      @fundaofwebit  2 роки тому

      I think, it's bcz you are sending form action='allcode.php' on submit.

  • @rasselldelfin2591
    @rasselldelfin2591 3 місяці тому

    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

  • @deity4082
    @deity4082 2 роки тому

    my checkbox isnt blue? why is that?

  • @zubairblaze
    @zubairblaze 2 роки тому

    Form vanishes when put in loop, any advice!!

    • @fawemimoolawale4539
      @fawemimoolawale4539 2 роки тому

      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

  • @deity4082
    @deity4082 2 роки тому

    the id thing doesnt work on my why?

    • @deity4082
      @deity4082 2 роки тому

      oh its actually showing its just hidden, i need to click it first for it to appear

  • @sk_luowl
    @sk_luowl Рік тому

    When I run it it keeps getting stuck on code.php any ideas how to fix that