if I'm trying to delete record in the table but I'd is not exist in table. Still it is showing alert message Data Delete. In your database already deleted Id 3 but shows message Data Delete. Please check your code.
@tejasja26214 жыл бұрын
Even fr me same error can anyone help me out with that
@fundaofwebit4 жыл бұрын
Replace the if condition with below code: if(mysqli_num_rows($query_run) > 0) { //echo your data deleted. } else { //echo no record found or not deleted for this id. $id; }
@fundaofwebit4 жыл бұрын
Replace the if condition with below code: if(mysqli_num_rows($query_run) > 0) { //echo your data deleted. } else { //echo no record found or not deleted for this id. $id; }
@tejasja26214 жыл бұрын
Even if the delete the record which doesn't exist in the table the output remains true. Can anyone help me out with that plz
@fundaofwebit4 жыл бұрын
Replace the if condition with below code: if(mysqli_num_rows($query_run) > 0) { //echo your data deleted. } else { //echo no record found or not deleted for this id. $id; }
@ndumisongcobo25622 жыл бұрын
how did you fix the error? i am facing that error as well.
@poojathube52164 жыл бұрын
Thanks sir
@pranavnagvekar6363 жыл бұрын
My data does not get deleted please help me
@ndumisongcobo25622 жыл бұрын
even here bro
@silyakheraifi8583 жыл бұрын
PLEASE CAN YOU HELP ME?
@kabhikachambala33924 жыл бұрын
I did not subscribe because of bad plan of your instruction . There was no need for designing the form. It is not the focus to run how to make the form
@fundaofwebit4 жыл бұрын
Next time, i will keep your concept. Thank you for suggesting.
@Kennerdoll2 жыл бұрын
but his concept is helping someone out there, no wonder you have control of what part you want to watch, skip those you don't want.