tylrdiablos
New member
Apparently frames aren't to be used in PHP coded sites because they're outdated + it's bad practice etc.
So I have a simple page (index.php) that's essentially a table that's been resized to fit 6 elements (rows, columns).
(Top left is a search box, top middle is a logo, top right is log in, middle left is menu, middle is site news/content and middle right is ad frame.)
I simply stick include_once in each section of the table to display the relevant content.
But this now means that if someone clicks one of the menu listings (i.e "FAQS") they're taken to the actual .php file for that page instead of the page being display in the content part of the index page.
In a frame-based page we could just use TARGET="content" so I'm wondering if there's a PHP alternative or a way of naming table elements (rows, columns?) and display in there.
My site was going so well until I hit this minor snag. :-/
Surely I'm not the first person to run in this problem.
Any words of wisdom, solutions, ideas?
So I have a simple page (index.php) that's essentially a table that's been resized to fit 6 elements (rows, columns).
(Top left is a search box, top middle is a logo, top right is log in, middle left is menu, middle is site news/content and middle right is ad frame.)
I simply stick include_once in each section of the table to display the relevant content.
But this now means that if someone clicks one of the menu listings (i.e "FAQS") they're taken to the actual .php file for that page instead of the page being display in the content part of the index page.
In a frame-based page we could just use TARGET="content" so I'm wondering if there's a PHP alternative or a way of naming table elements (rows, columns?) and display in there.
My site was going so well until I hit this minor snag. :-/
Surely I'm not the first person to run in this problem.
Any words of wisdom, solutions, ideas?