I currently have a PHP file that includes three echo statements, so when called from a single iframe within HTML loads three perfectly formatted lines of text.
I’ve since shortened/optimized this PHP with extra variables and one echo statement so that it can be used by multiple pages. The problem is that for one of these pages I still want three lines of text (ie. load the same file multiple times), however I don’t know how to make this three lines one on top of the other without using multiple iframes or objects. Is there a simple method out there? Sorry if this has been covered already.
Here’s how I’ve been tackling it so far. It’s just not pretty due to the extra spacing between text and if I change the height any lower it starts to crop part of the text.
[code]<iframe src=”/test.php?var1=1&var2=100″ width=”100%” height=”30″ frameborder=”0″ scrolling=”no”></iframe>
<iframe src=”/test.php?var1=2&var2=101″ width=”100%” height=”30″ frameborder=”0″ scrolling=”no”></iframe>
<iframe src=”/test.php?var1=3&var2=102″ width=”100%” height=”30″ frameborder=”0″ scrolling=”no”></iframe>