Frank62
02-14-2008, 05:00 AM
Hi,
In case Google locates a certain article on this website, and one clicks it, the article appears in the full context (the full layout). How is that done, with PHP? I know how it can be done with PHP+JS in case the articles would have been 'stand-alone' files on the server, and would have to be loaded into a framed page. But I wonder how it is done in case of database-stored files, with PHP. Is there some kind of PHP line at the top of the database-stored file that says "this page only in that layout"?
I tried to locate some tutorials on this matters, but seemingly I'm not using the right keywords. I'm getting tons of hits, but the first 10 contained everything but the girl, if you know what I mean.
What would be a good Google search string to locate such tutorials? Or does anyone know where a good tut is to be found? Obviously, a clear explanation is welcomed, too. (I'm a beginner at PHP, all I can do without errors is include content, and the above-mentioned PHP+JS trick.)
It's not a matter of urgency but I would like to know how it's done.
Thanks in advance.
In case Google locates a certain article on this website, and one clicks it, the article appears in the full context (the full layout). How is that done, with PHP? I know how it can be done with PHP+JS in case the articles would have been 'stand-alone' files on the server, and would have to be loaded into a framed page. But I wonder how it is done in case of database-stored files, with PHP. Is there some kind of PHP line at the top of the database-stored file that says "this page only in that layout"?
I tried to locate some tutorials on this matters, but seemingly I'm not using the right keywords. I'm getting tons of hits, but the first 10 contained everything but the girl, if you know what I mean.
What would be a good Google search string to locate such tutorials? Or does anyone know where a good tut is to be found? Obviously, a clear explanation is welcomed, too. (I'm a beginner at PHP, all I can do without errors is include content, and the above-mentioned PHP+JS trick.)
It's not a matter of urgency but I would like to know how it's done.
Thanks in advance.