in reply to Datafile doesn't update before being read

I may be able to shed a little light on what you're attempting to do. A while back I wrote a CGI app for a friend's web site that allowed them to update items for sale solely from a web page. It was set up as a 2 frame web page with an add items section on the left, and items for sale on the right. The idea was to do a very simple database for a web page that was built on the fly.

Items could be added via a form on the left and the items then were updated on the right.

In addition, the items on the right were displayed with a check box and that part was set up as a form as well so that multiple check boxes could be selected, and deleted all at once. When an item was deleted, the script called itself again so as to display the new data. That may be one option for you to consider in your program.

Hope that helps!

Some people fall from grace. I prefer a running start...

  • Comment on Re: Datafile doesn't update before being read

Replies are listed 'Best First'.
Re: Re: Datafile doesn't update before being read
by ghopper (Novice) on Jun 06, 2002 at 20:38 UTC
    Yep, I'm doing something very similar. Basically, I've got a list of weblinks with checkboxes next to them. The function I'm working on simply allows the user to check off a bunch of boxes at a time, press "delete," and the selected links are deleted. The page calls itself.

    I guess it would have been helpful to say that up front!

    --ghopper