Skip to main content
Inspiring
May 11, 2008
Question

editing suggestion please

  • May 11, 2008
  • 1 reply
  • 398 views
I have created the edit module in which the some 4 categories are hard coded and other categories can be provided by the user in the text field. I mean if he does not choose from the select menu, he can add his/her own category.

But I am dumed there where i store all the images and the attachments to that very folder of the category like category IS : COPLES and the record inserted is 10, so itwill create a folder of COPLES and a folder of 10 inside COPLES to make it different from other records.

NOW I have to edit the record and i display the info as entered by the user when he first added the record,

If that changes the category from COPLES to HOPES, then what should i do?

delete the folder of 10 inside coples and then move the files to the HOPES folder or do something else?

I think the above will carry a lot of load to the server.

Is there some other way you can suggest me, or i should give the access of category at all.

Please provide your suggesstions, needed very much, i want to make a decision based on your calculations and mine too

Cheers/
This topic has been closed for replies.

1 reply

Inspiring
May 11, 2008
how about just renaming the folder COPLES to HOPES?

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Inspiring
May 11, 2008
Thanks Mate, But will this not effect other records, like coples have folders like 10, 20,30 and 41, so changing the folder name to HOPes will render them inuseable.

Any