OK, I've been trying to get this to work for over a week, but still no luck.
What I'm trying to do is this: I have an upload script that's a modified attachment uploader for a php forum (don't kill me! it's easier to integrate with the site). I'm trying to add an option so that I can "lock" the file. When the file is "locked", the forum loads a template displaying all information on the file except the actual download link. This works perfectly fine if I manually edit the mysql field through phpadmin, but I can't get the script to work right so that I can lock it from the forum.
my php code (more or less):
[/code]html template I'm working with (form and send buttons etc on the template it loads to)
[code]
I've tried tons of different ways to do it (both html and code wise) but can't get it to work.
that's the code as I have it right now. Doesn't give me any errors, just doesn't set attachments[attach_status] to 1 (in the db) when I want it too.
link: http://filedb.4x4customs.net/thread.php?threadid=54&boardid=14&page=1#1 pic: http://www.4x4customs.net/staff/gts/editscreen.jpg