Thread: Resolved db delete row permission
View Single Post
Old 10-14-2012, 08:13 PM   PM User | #5
guelphdad
Super Moderator


 
guelphdad's Avatar
 
Join Date: Mar 2006
Location: St. Catharines, Ontario Canada
Posts: 2,629
Thanks: 4
Thanked 147 Times in 138 Posts
guelphdad will become famous soon enoughguelphdad will become famous soon enough
look up mysql_error in the php manual and use it accordingly to print out error messages caused by mysql errors.

also echo out the value of $query so you can see the actual string that is being passed to mysql.

what value are you passing to $rid? looking at a value of 30ed7b13c560475621c217191fc20216 it is most likely hashed value of SHA1 so you might have to run that hash against the input value.
guelphdad is offline   Reply With Quote