0

yes hello now before refresh
it shows like this
result=>1Error=> records is sucessfully Deleted
now how to remove error

Great:)
It proves once again that there is nothing wrong with your code, it just the human mistake that is failing to recognize if the data is deleted or not :) Please be sure about it.

0

means what to do now???

means there's nothing wrong with your code.Maybe you are failing to check properly if the data has been deleted from the database or not.
How do you check if the particular row is deleted form the Db, after executing the script?

0

i am using this script to check that data is deleted or not
PHP CODE

if($result){
    echo "<meta http-equiv=\"refresh\" content=\"0;URL=del.php\">";
    }

Edited by mike_2000_17: Fixed formatting

0

i am using this script to check that data is deleted or not
PHP CODE
if($result){
echo "<meta http-equiv=\"refresh\" content=\"0;URL=del.php\">";
}

You should have checked that, directly in the database with select count query.
Moreover all browsers cannot recognize "http-equiv", use header instead like -

$ur_url = "http://del.php";
header("Location:$ur_url");

If you want to transfer to some other the page del.php

Edited by network18: n/a

0

sir i am directly checking in my databse after deleting recodrs but my database not deleted any records

do somthing sir
manish mannan

0

sir i am directly checking in my databse after deleting recodrs but my database not deleted any records

do somthing sir
manish mannan

Did you read my above post and made changes in the code

0

hello frenz,
i m curently doing a project in php with Mysql under a topic "stock management"
i have juz created my pages such as for log in,insert
my probs is delete,view stock in runtime is not working
would u help me plz

0

hello friend this topic has been closed plz create new topic and invite me iwill definetily help u my dear

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.