Reply to Re: Mysql table rows delete HELP

Your name:

Reply:


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
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация