Thread: Resolved db delete row permission
View Single Post
Old 10-14-2012, 01:02 PM   PM User | #1
durangod
Senior Coder

 
Join Date: Nov 2010
Posts: 1,177
Thanks: 214
Thanked 31 Times in 30 Posts
durangod is on a distinguished road
db delete row permission

Hi i did some code changes to my admin area so that i had the option of either truncating the table all together (which i used to do thru phpMyAdmin all the time once a day) or deleting individual rows.

Problem is that my truncate works fine but my individual row del query does nothing. I know the code is correct because as a test i even used a query that i know worked but just changed the value of rowid.

I know the id has value, i know the variable has value. That is all correct.

So that leaves me to believe that for some reason i may have permission to truncate but not permission for row deletion. Im not even sure this is possible thats why im asking.

Do i need to set permissions in php for this or is it a phpMyAdmin deal. Im sort of lost on this one, ok fine not "sort of" but totally . I dont remember running into this before.

Just looking for a starting point in my discovery here lol

I forgot to add the query does work in phpMyAdmin.

Last edited by durangod; 10-15-2012 at 02:58 PM..
durangod is offline   Reply With Quote