droidus Posted August 30, 2011 Share Posted August 30, 2011 i am trying to delete files for a user, and then update the database with the new bandwhitch/free space. here is my code: http://pastebin.com/J2XE9Fip i just can't figure out where i'm going wrong... thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/245995-deleting-files-updating-database/ Share on other sites More sharing options...
Psycho Posted August 30, 2011 Share Posted August 30, 2011 Why don't you tell us what is happening that shouldn't or what is not happening that should so we have some place of reference to look for a problem. Quote Link to comment https://forums.phpfreaks.com/topic/245995-deleting-files-updating-database/#findComment-1263359 Share on other sites More sharing options...
droidus Posted August 30, 2011 Author Share Posted August 30, 2011 what is happening, is when I delete a file, the database data stays the same. if you look at the formulas, it includes one variable from the db table, and one from the php script. i think it is not changing because of an error on my script with the variables. Quote Link to comment https://forums.phpfreaks.com/topic/245995-deleting-files-updating-database/#findComment-1263360 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.