I've created a web page utilizing 3 frames (header, index, main). In the frame named 'main' I have a form setup for logging into a MySQL database. On a successful login I want to change the html in 'index' and 'main'. The active frame 'main' is easy, as the new html code will go into this window by default. However, how do I load html into the index frame?
If there is a different way to handle this, please feel free to share them.
Thanks
First of all, read these two articles: http://www.html-faq.com/htmlframes/?framesareevil http://www.gooddocuments.com/techniques/areframesbad.htm
A good alternative to frames is making use of Cascading Style Sheets / HTML <div> elements / HTML <iframes> elements / XSLT. However, if you really want to use frames then you'll need to create a frameset for *every* main page and create a separate .php page for each of the other pages (index, header).
Frames aren't just one page. This is why the break the model of the web and are generally frowned upon - but in a few instances they can be useful.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php