Forum Moderators: coopster
I have a new design that uses a template... so it works like this:
call up index.php (containing variables like content), this includes the template.php (includes the "backbone"). Now the template also calls up a few other pages (like the header, sides and bottom) but I need it to call up something else...
Now I need a page with variables that are the code. So when I change the code from layout to layout, it's in one page (i'm not putting it in the template because some pages use 3 tables and some use 5, it's always changing). Or even... can I make the template have variables then when I have a new table jsut include that var... no... because it can't do that if the page is always changing...
Grrr ok really i need a template that can always change. So every page is different in some use more tables and some don't, but how could the template POSSIBLY KNOW? Ugh... How can i configure a my template to "always changing" content? It would ahve to call variable from somewhere and know that it has to call it up.
With that how DO you call a variable from another page? like lets say i have a header that is all variables, how do i call up the one variable i need... in that page?
like include("url"header.php:@main;)>
u know what i'm saying >.<
Thank you.
u know what i'm saying >.<
I don't reckon so. You might want to post a short example of what you're trying to do.
Are you saying you want variables that are code references? You can make a reference to a function, if that helps:
(I hope this URL is OK:)
[devarticles.com ]