|
|
 |
Re: FN-FORUM: Can anyone help here
date posted 22nd July 2004 15:47
Hi
Thanks for the reply, you would not believe how many php help forums I have
been on with not one reply.
The problem is I have spent so much time on this, and then they ask for the
delete feature, basically because it makes it easier for them, but not for
me.
The way the site is set up is very basic, and I was hoping there would be a
simple solution.
The user logs in and they are then presented with a page which has a menu to
the left, on this menu that have 12 links to each calendar month, here they
upload there picture and this updates the database with the picture name,
while copying the image into their folder. This is great not a problem. But
I was hoping that I could change my code to look what the previous image was
then delete it and upload the fresh one.
The problem is the client wants it as easy as possible.
Thanks
barry
----------------------------------
Barry Zimmerman
Administrator
Fishingvenues.com
http://www.fishingvenues.com
----------------------------------
> From: Tony Crockford [EMAIL REMOVED]
> Reply-To: [EMAIL REMOVED]
> Date: 22 Jul 2004 15:28:01 -0000
> To: "FN-FORUM / [EMAIL REMOVED] [EMAIL REMOVED]
> Subject: Re: FN-FORUM: Can anyone help here
>
>
> At 16:11 on Thursday, 22 Jul 2004, Barry Zimmerman wrote:
>
>> But if the image is not the same we have more than one image for a
>> month chosen. I have an mysql database which stores the image names, but
>> I
>> need to delete the images not used.
>>
>> Is there a way of doing this?
>
> when they are replacing the image for the month, do you show them it? if
> so you must be reading out the filename from the database, why not have a
> routine that deletes the file named in the database before showing them
> the form to upload a new one?
>
> e.g display the image for the month - they click "replace" it - that
> deletes the image, deletes the database record and launches the upload
> form.
>
> Or have I missed something completely?
>
> hth
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|