Can anyone see why unlink isn't working?
| From: | Chris Payne | Date: | Thu, 28 Aug 2003 02:59:34 +0000 |
| Subject: | Can anyone see why unlink isn't working? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-30160@lists.php.net to get a copy of this message | ||
Hi there everyone,
I have image details stored in my DB, and i'm trying to remove the ones I select, but I keep
getting an error saying that there is an unexpected T_Variable, can anyone see what is wrong here?
It's probably obvious, but for the life of me ........
if (count($del) >= 1) {
for ($i=0;$i<count($del);$i++) {
$nameb = $del[$i];
echo $nameb;
unlink($path$nameb);
};
Thanks for any help :-)
Chris