Re: (Urgent!!!) Checkbox Reference
| From: | Brian Clark | Date: | Sun, 17 Dec 2000 06:54:50 +0000 |
| Subject: | Re: (Urgent!!!) Checkbox Reference | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30723@lists.php.net to get a copy of this message | ||
Hello Tan,
(TJ == "Tan JH") jenhwi@visto.com writes:
TJ> The problem is i can't refer to the check box which determines
TJ> which file to delete as i am using the filename as my checkbox
TJ> name.
<form method="post">
<input type="checkbox" name="filename" value="filename.gif">
<input type="submit">
</form>
<?php
if(isset($filename))
{
print $filename;
/* do something with $filename */
/* like @unlink($filename); ? */
}
?>
Perhaps?
-Brian
--
Dinner not ready: (A)bort (R)etry (P)izza