Комментарии:
Text area ke liye kya lena hai
Ответитьwhy is it my form vanishes when i put it in a loop ?
Ответить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
Sir I want to amount update form in project so what code should I need to put in project please help me sir immediately
Ответить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?
ОтветитьWhen I run it it keeps getting stuck on code.php any ideas how to fix that
ОтветитьPlease how do you link the admin panel to the pages? Hence having control of the data
Ответить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
my checkbox isnt blue? why is that?
Ответитьthe id thing doesnt work on my why? <td> <a href="register-edit.php?id=<?=$row['id'];?>" class="btn btn-success">Edit</a> </td>
Ответить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"
ОтветитьI follow all your code but why does the form disappear?
Ответить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
ОтветитьThank you so much!!!! 😀
ОтветитьSir please when I click on update button it delete the password in the database whiles I have not typed anything in the password
Ответитьsir i follow your codes but when I press update button it will redirect to allcode.php ? why is that happening ?
ОтветитьForm vanishes when put in loop, any advice!!
Ответить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
}
}
?>
how to give server side javascript validation to these login and register forms ?
ОтветитьCan you add option. Multiple Author. Every author able to edit/delete their posts only admin. Admin only access every post. Is possible?
Ответить