Heres my problem. I have to find this out for someone...
Basically, he enters an article into a database while adding it to a category. He also needs to upload am image into a directory, and give it a link in th database at the same time.
Here is his structure.
DB name = articles
TABLE name = contents
- id
- pid
- Text
- Image Link
- CategoryID
TABLE anme = category
- id
- name
Bascially, once in his CMS, he enter a article into a category, and the file must be saved into the directory named after the category. Also a link must be made to this file in 'Image Link'
Does anyone know the code for this? And could tell me it....
BTW, the folders for these categories are allready created...




Bookmarks