|
Posted by Dejan on 04/10/06 01:40
I know how to delete files in simple code, but here i have some kind of
loop. As i have writen before this is my req:
>I'm looking for a way to implement something like this:
>When i'm deleting row, script select's this 4 coloumns form that row first,
put's it into an array.
>Then i have file names in array, and i cann delete (unlink etc.) them, and
the row.
>I understend that, buth i don't know how to implement it in this delete
loop.
Dejan
-----------------
fastrat <turalsedirov@gmail.com> wrote in message
news:1144648026.524311.234660@v46g2000cwv.googlegroups.com...
> hey pal :) you are not deletin the files
> because in php code you wrote del " $sql = "DELETE FROM $tbl_name WHERE
> id='$del_id'";
> > $result = mysql_query($sql);" but wont you try do write php code to
delete files too like"ifdel name then del *.jpg;" :) then put it there its
gonna work
> by the way i am not php programmer but i undestand it because i have
> knowledge of other programs and thats the mistake yuo have put there
> you delete only name by code (only one action) but not jpgs
>
Navigation:
[Reply to this message]
|