PHP Blog Admin Panel 8: How to edit update registered user data in php mysql

PHP Blog Admin Panel 8: How to edit update registered user data in php mysql

Funda Of Web IT

2 года назад

26,209 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Big thought हिन्दी
Big thought हिन्दी - 29.09.2023 20:14

Text area ke liye kya lena hai

Ответить
Edgar Deleon
Edgar Deleon - 27.05.2023 20:35

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

Ответить
Abdul ubaid
Abdul ubaid - 27.05.2023 14:20

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\newtaraba\admin\beneficiary.php on line 32
No Recored Found!" i tried i can but it wont give me result please help

Ответить
Gauri Shejal
Gauri Shejal - 17.05.2023 14:51

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

Ответить
josh _
josh _ - 09.02.2023 19:13

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?

Ответить
SK_LuOwl
SK_LuOwl - 03.01.2023 01:56

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

Ответить
Samuel Lawson
Samuel Lawson - 08.09.2022 18:25

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

Ответить
shank sharma
shank sharma - 08.07.2022 11:25

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

Ответить
Deity
Deity - 05.06.2022 13:15

my checkbox isnt blue? why is that?

Ответить
Deity
Deity - 05.06.2022 11:25

the id thing doesnt work on my why? <td> <a href="register-edit.php?id=<?=$row['id'];?>" class="btn btn-success">Edit</a> </td>

Ответить
Achraf Rhoulam
Achraf Rhoulam - 17.05.2022 11:30

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"

Ответить
chanvirakboth rith
chanvirakboth rith - 02.05.2022 13:50

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

Ответить
sana rahman
sana rahman - 13.04.2022 19:12

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

Ответить
Kareena Singh
Kareena Singh - 05.02.2022 23:15

Thank you so much!!!! 😀

Ответить
Mercy Appoh
Mercy Appoh - 30.01.2022 13:04

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

Ответить
Rod Redulas
Rod Redulas - 13.01.2022 01:07

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

Ответить
Muhammad Zubair
Muhammad Zubair - 28.12.2021 17:06

Form vanishes when put in loop, any advice!!

Ответить
sura alani
sura alani - 01.12.2021 21:25

Hi Sir, I got this error and I couldn't solve it (mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given in C:\xampp\htdocs\blog\Admin\register-edit.php on line 27)? Thank you in advance
below you can find my code : Table name ( advisers ) , id= Adviser_ID



<?php
if(isset($_GET['id'])) // Don't need to start with databse connection , its already in authentication
{
$Adviser_id = $_GET['id'];
$advisers = "SELECT * FROM advisers WHERE id='$Adviser_id' ";
$advisers_run = mysqli_query($con, $advisers);

if(mysqli_num_rows($advisers_run) > 0) // check records if exist or not
{
foreach($advisers_run as $Adviser)
{

?>


<form action="">
<div class="row">
<div class="col-md-6 mb-3">
<label for="">First Name</label>
<input type="text" name="Adviser_FirstName" value="<?=$Advisers['Adviser_FirstName'];?>" class="form-control">
</div>

<div class="col-md-6 mb-3">
<label for="">Last Name</label>
<input type="text" name="Adviser_LastName" value="<?=$Advisers['Adviser_LastName'];?>" class="form-control">
</div>
<div class="col-md-12 mb-3">
<button type="submit"class="btn btn-primary">Update Adviser</button>
</div>


</div>
</form>
<?php
}
}
else
{
?>
<h4>No Record Found</h4>
<?php
}

}

?>

Ответить
Madhura Kamat
Madhura Kamat - 24.11.2021 10:38

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

Ответить
Okay Google
Okay Google - 31.10.2021 13:05

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

Ответить