Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 iframe of HTML Files in Folder
Index -> Programming, PHP -> PHP Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
MadiAraly




PostPosted: 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! Very Happy
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, PHP -> PHP Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: