[PHP-DB] Move PDFs

2002-11-14 Thread Natividad Castro
Hi to all, I have an Access DB with a table call newchecklist. On this table I have a field call PDF where I have many PDFs. What I'm trying to do is to move all these PDFs into different folders. For example, if I have a folder name VA, so my query will be: SELECT STATE FROM newcheklist WHERE

Re: [PHP-DB] Move PDFs

2002-11-14 Thread Peter Beckman
http://www.php.net/manual/en/function.rename.php You are just moving files on a file system from one place to another right? rename(/old/path/to/file/filename.pdf,/new/path/newfilename.pdf) or die(can't move file); Can't remember what variable/function holds the last error for rename,