The reason for this is that currently i am generating a lot of diffrent tbodys contaning diffrent numbers so therefore i can’t just copy and paste from the body, instead i want it to be done automaticly.
In other words im generating alot of summarys to have in my “overview”.
And this overview is also to appear in as many html sites as there are overview. So my thought were to have the Overview div as a SSI and stores variables to read from many summary’s.
So my queastion is, is it possible to have SSI’s(Server side include’s) where you can have variables in them?
How is this done?
How can I set a path in the SSI to where the folder containing all the summarys are?
I know that this thread might be posted in wrong place, but admin feel free to move to apropiate place
So say that I want a ceartain number, etc 237 on linenumber 2 on the following line
<tr><td>237</td>
in html file located in example folder “testRuns\ estRun45\Sumary.html”. How do I get it using php? im only interested in the number, not the html code
Say also that you have other testruns contanined in other folders, for example
“testRuns\ estRun46\Sumary.html” and “testRuns\ estRun47\Sumary.html” etc. and also each testrun folder are containing an index.shtml
for example “testRuns\ estRun46\index.shtml” and “testRuns\ estRun47\index.shtml”
I want the overview.shtml to read the numbers from the summary.html file as the index.shtml is contained in.
So for example
If “testRuns/testRun46/index.shtml” does the following