an alternative to frames.......

Soldato
Joined
6 Feb 2004
Posts
20,856
Location
England
i've googled but i can't seem to find an answer. i'm currently using a frameset to display 2 pages. the first is a form which updates the content in the 2nd page. it works perfectly but everywhere you go, frames seem to have a bad name.... :p

i've looked at using php includes but i can't target the 2nd page with my form action? i've also tried sumitting the form to itself so i only have one page. this does work but unfortunately it reloads the whole page and all the form settings go back to default which i don't want.

so any ideas? :D
 
well the page is linked in my sig. click to see. if you don't have a lastfm account, use my ocuk username to test.... :p

the second page only contains an img src and a textarea which are updated when the form is submitted.

addy_010 said:
other then frames the only thing i can thin kof would be to get the form to submit itself to the same page which would then update the areas.

as mentioned, i've already tried that and while it does update the image and textarea ok, it also resets all the form values which is no good. :p
 
i think i understand what you're saying - that i should populate the values on my form with the php data so it would appear that the page hasn't been reloaded? :eek:

there must be an easier alternative. i wouldn't know where to start. :D
 
Back
Top Bottom