Hi, Wednesday, April 14, 2004, 6:57:53 PM, you wrote: RL> I am writing a database front end in PHP for a record library. RL> My interface is divided into several HTML frames the first of which contains RL> an HTML select element listing all of the top-level records (CDs) and RL> several buttons to perform certain operations on the selected record (e.g. RL> delete, edit). RL> When the 'Edit' button is clicked the record's contents are displayed in RL> another frame so that it can be altered. RL> Each of these top-level records (CDs) has a number of 'sub-records' (tracks) RL> which I would like to be able to display in an HTML select element in a RL> third frame (as above). RL> Ideally, when the user clicks 'Edit' in the first frame with a CD selected, RL> not only should its details appear in the second frame, but also its tracks RL> (sub-records) should appear in the third frame. RL> So is there a way of making a single form post affect two scripts in RL> different HTML frames? Or a way of posting values from the second frame to RL> the third automatically (i.e. without the user clicking an HTML 'submit' RL> button)? RL> Cheers, RL> Richard
Post your details to the main page that defines the frames and get that page to pass the new details on to the sub pages. that way all frames will be regenerated after the post operation. -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php