Duble the work on pages
Hey everyone :)
Im having the following problem could someone hand me some ideas?
I also posted a lil sketch (still dunno the right size but if its to big gimme a few minutes to resize it)
I'm using includeds in my gallery (ferryr simple gallery nothing fancy) the thing is i have a couple of pages that contain the content that goes in the body.
For these pages i need to write an include page (a page that gets everything and a page that contains the images) the problem is this is to much work for every page that i make i need to make an include page and a content page this is way to much work and i beliefe it can be easyer only i dont know how yet.
here's an image to clear up the bad english i typed here :P
hmm cant get the img to work here is a direct link.
You could do a bunch of things to solve this.
The most common way would be to use a Mysql database to hold all page content (data). To do this requires a lot of learning, so it might not be the best choice.
If you do not want to learn how to use databases, your way seems to be the next best way. The thing about PHP is that you have hundreds of ways to do the same thing, and its up to the developer to decide what they want to do.
The way I would like it if content_body.html only gets replaced
when you click on next or page 2.
Once again sorry for my bad english still working on improoving it.
Ill include the code when i get home becus in code everything will seem much clearer
Main page of the gallery
Sorry for the to lazy to edit them out
|All times are GMT. The time now is 02:19 AM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0