[snip]
function deleteFiles() {
    foreach($_POST['stack'] as $i) {        //This should work but I
can't
tell if it is or isn't
         mysql_query("DELETE FROM uploads WHERE upload_id =" . "$i");
    }
[/snip]

Try print_r $_POST['stack'] and see what you get.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to