Jump to content

Archived

This topic is now archived and is closed to further replies.

Bee

webpage problem

Recommended Posts

Hi,

My php page does not open in explorer, but it works fine in avant browser.

I've created a php webpage that contains a table and inside the table there is a flash animation. The way I did it was by creating three sperate files and included them all in one php file.

my first file shows the table upper part. second file shows flash animation and third shows the lower part of the table.

1.
[code]<?php
?>
<HTML>
    <body>
        <table width="100%" height="134" border="0" cellpadding="2" cellspacing="0">
          <tr>
                <td></td>
                
                <td width="778" border="1" bgcolor="#EFF8FA">
<?php
?>[/code]


2[code].<?php
?>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="778" height="626">
    <param name="movie" value="file:///C|/XAMPP/xampp/htdocs/StudentBuyer/Student_Buyer.swf">
      <param name="quality" value="high">
      <embed src="file:///C|/XAMPP/xampp/htdocs/StudentBuyer/Student_Buyer.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="778" height="626"></embed></object>

<?php
?>[/code]


3[code].<?php
?>
                    </td>
                    
                    <td></td>
              </tr>
            </table>
        </body>
    </HTML>
<?php
?>[/code]


this is the file that includes them.
[code]<?php
    include("table_Upper_Part.php");
    include("student_buyer_SWF.php");
    include("table_Lower_Part.php");
?>[/code]

this page works perfectly in avant browser on my machine. but it does not open in explorer!
Can any one help please?

thanks,
Bee

Share this post


Link to post
Share on other sites
im not 100% sure if this'l help but none of the:

[code](.)<?php
?>[/code]

are not nessisary in any of the files but the file that includes them, you only need to use them to surround actual php code.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.