B
broken_glass_101
Guest
To be a bit more specific, I have a web page that is a cluster of div containers. The only thing differentiating one page from another is the content inside this one specific div. What I want to do is just reload one php file versus having to copy the code for all the other divs. so its like this;
div {
div {
DIV {}
}
}
^ so you see, i have code for all the divs in lowercase. the div in the uppercase is the one that changes between each page. i have seperate php files that have code for each different DIV.
so is there anyway i can say...
include this php {
include this php at a specific point.
}
thanks in advance! =D
I need php help, not javascript or c++. =D thnx tho.
div {
div {
DIV {}
}
}
^ so you see, i have code for all the divs in lowercase. the div in the uppercase is the one that changes between each page. i have seperate php files that have code for each different DIV.
so is there anyway i can say...
include this php {
include this php at a specific point.
}
thanks in advance! =D
I need php help, not javascript or c++. =D thnx tho.