PRoblem in Delete

Thread Solved

Join Date: Sep 2009
Posts: 551
Reputation: network18 is an unknown quantity at this point 
Solved Threads: 64
network18 network18 is offline Offline
Posting Pro

Its a human error, software is never buggy!

 
0
  #31
Nov 5th, 2009
Originally Posted by manishmannan View Post
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.
"The discipline of writing something down is the first step towards making it happen."

follow me on twitter
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 44
Reputation: manishmannan is an unknown quantity at this point 
Solved Threads: 2
manishmannan manishmannan is offline Offline
Light Poster
 
0
  #32
Nov 5th, 2009
means what to do now???
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 44
Reputation: manishmannan is an unknown quantity at this point 
Solved Threads: 2
manishmannan manishmannan is offline Offline
Light Poster
 
0
  #33
Nov 5th, 2009
why this code is not workin on internet plz tell me dear
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 551
Reputation: network18 is an unknown quantity at this point 
Solved Threads: 64
network18 network18 is offline Offline
Posting Pro
 
0
  #34
Nov 5th, 2009
Originally Posted by manishmannan View Post
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?
"The discipline of writing something down is the first step towards making it happen."

follow me on twitter
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 44
Reputation: manishmannan is an unknown quantity at this point 
Solved Threads: 2
manishmannan manishmannan is offline Offline
Light Poster
 
0
  #35
Nov 5th, 2009
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\">";
}
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 551
Reputation: network18 is an unknown quantity at this point 
Solved Threads: 64
network18 network18 is offline Offline
Posting Pro

All browsers cannot rcognize http-equiv

 
0
  #36
Nov 5th, 2009
Originally Posted by manishmannan View Post
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 -
  1. $ur_url = "http://del.php";
  2. header("Location:$ur_url");
If you want to transfer to some other the page del.php
Last edited by network18; Nov 5th, 2009 at 6:23 am.
"The discipline of writing something down is the first step towards making it happen."

follow me on twitter
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 44
Reputation: manishmannan is an unknown quantity at this point 
Solved Threads: 2
manishmannan manishmannan is offline Offline
Light Poster
 
0
  #37
Nov 5th, 2009
hello sir plz where u have been gone plz take me out of this problem
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 44
Reputation: manishmannan is an unknown quantity at this point 
Solved Threads: 2
manishmannan manishmannan is offline Offline
Light Poster
 
0
  #38
Nov 5th, 2009
sir i am directly checking in my databse after deleting recodrs but my database not deleted any records

do somthing sir
manish mannan
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 551
Reputation: network18 is an unknown quantity at this point 
Solved Threads: 64
network18 network18 is offline Offline
Posting Pro
 
0
  #39
Nov 5th, 2009
Originally Posted by manishmannan View Post
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
"The discipline of writing something down is the first step towards making it happen."

follow me on twitter
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 44
Reputation: manishmannan is an unknown quantity at this point 
Solved Threads: 2
manishmannan manishmannan is offline Offline
Light Poster
 
0
  #40
Nov 5th, 2009
now i am using this but this code is not working
if($result){
$ur_url = "http://www.mydomain.com/del.php";
header("Locationur_url");
}
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC