Computer Science Canada iframe of HTML Files in Folder |
Author: | MadiAraly [ Mon Jul 18, 2016 10:24 am ] |
Post subject: | iframe of HTML Files in Folder |
I have a folder of html files (which I'm including my PHP file in), and I can't get the line right that has me display them as iframes. for($index=0; $index < $indexCount; $index++) { if (substr("$dirArray[$index]", 0, 1) != "."){ // don't list hidden files echo "<iframe src="http://compsci.ca/v3/.$index 0,1."\" width="500px" height="280px"></iframe>"; //<----- PROBLEMATIC LINE } All help is much appreciated, please make a suggestion! ![]() |