Robertforbes Posted November 16, 2008 Share Posted November 16, 2008 <IFRAME name="shoutbox" SRC="http://www.website.com/shoutbox/" WIDTH="500" HEIGHT="100" scrolling="no" frameborder="1" marginwidth="5" marginheight="5"></IFRAME> Could someone please convert this into PHP for me? Quote Link to comment Share on other sites More sharing options...
BoltZ Posted November 16, 2008 Share Posted November 16, 2008 Uh.. <?php <IFRAME name="shoutbox" SRC="http://www.website.com/shoutbox/" WIDTH="500" HEIGHT="100" scrolling="no" frameborder="1" marginwidth="5" marginheight="5"></IFRAME>'; ?> This belongs in the php section Quote Link to comment Share on other sites More sharing options...
haku Posted November 16, 2008 Share Posted November 16, 2008 The question doesn't really make sense. You can't convert HTML to PHP, they are different things. You can output HTML with PHP, but why bother - just close the php tags before the iframe statement, then reopen them after the iframe statement. Quote Link to comment Share on other sites More sharing options...
BoltZ Posted November 16, 2008 Share Posted November 16, 2008 Yea I looked at my post and im sorry guys I forgot the echo ' but i closed it already Sorry Quote Link to comment Share on other sites More sharing options...
Robertforbes Posted November 16, 2008 Author Share Posted November 16, 2008 Yea I looked at my post and im sorry guys I forgot the echo ' but i closed it already Sorry Could someone give me the full correct code with the echo included please? Quote Link to comment Share on other sites More sharing options...
trq Posted November 16, 2008 Share Posted November 16, 2008 Yea I looked at my post and im sorry guys I forgot the echo ' but i closed it already Sorry Could someone give me the full correct code with the echo included please? Why? Just exit php insert your code, then open php again if need be. Quote Link to comment Share on other sites More sharing options...
Robertforbes Posted November 16, 2008 Author Share Posted November 16, 2008 Yea I looked at my post and im sorry guys I forgot the echo ' but i closed it already Sorry Could someone give me the full correct code with the echo included please? Why? Just exit php insert your code, then open php again if need be. I have no idea what that means? ??? Quote Link to comment Share on other sites More sharing options...
trq Posted November 16, 2008 Share Posted November 16, 2008 <?php /// php goes in here ?> <IFRAME name="shoutbox" SRC="http://www.website.com/shoutbox/" WIDTH="500" HEIGHT="100" scrolling="no" frameborder="1" marginwidth="5" marginheight="5"></IFRAME> <?php // more php goes in here ?> Quote Link to comment Share on other sites More sharing options...
BoltZ Posted November 16, 2008 Share Posted November 16, 2008 Or <?php echo '<IFRAME name="shoutbox" SRC="http://www.website.com/shoutbox/" WIDTH="500" HEIGHT="100" scrolling="no" frameborder="1" marginwidth="5" marginheight="5"></IFRAME>'; ?> But that does the same thing iff you were to not even use php....whats the point of encasing it in php tags. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.