Hi Simon,
Don't feel bad - many a good idea/application comes from looking at something else.
Yes, you could delete via the asp - it just requires a bit of work. When you make an entry to the guestbook, it saves it to a flat file. Each line within this file is a new guestbook entry.
You could put a delete button against each line on the asp which could be referenced to the line count. You would then need to copy the flat file in to an array or temp file, skipping the line that needs deleting. Once done, this would then need to be written back to the original file.
I hope that makes sense!
Regards,
Jon
www.jon00.me.uk/hs.html
Don't feel bad - many a good idea/application comes from looking at something else.
Yes, you could delete via the asp - it just requires a bit of work. When you make an entry to the guestbook, it saves it to a flat file. Each line within this file is a new guestbook entry.
You could put a delete button against each line on the asp which could be referenced to the line count. You would then need to copy the flat file in to an array or temp file, skipping the line that needs deleting. Once done, this would then need to be written back to the original file.
I hope that makes sense!
Regards,
Jon
www.jon00.me.uk/hs.html
Comment