the error given would help....
however you forgot the close your </IFRAME> at the end...
also if you are using STATIC strings.... use 'strings like this' instead of "strings like this" you wont have to escape double quotes (") 'this is perfectly "legal" in a string using single quotes to encapsulate it', and "inversly, this is perfectly "legal" in strings using double quotes to encapsulate it"
the missing > could possibly throw out a bunch of HTML due to the open tag... but dunno beyond that... w/o an error to look after...
also... how are you calling it from index.php? thats a good thing to share also...