Jump to content

Converting HTML into PHP?


Robertforbes

Recommended Posts

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.

Link to comment
Share on other sites

Yea I looked at my post and im sorry guys I forgot the echo '

 

but i closed it already ;D

 

 

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.

Link to comment
Share on other sites

Yea I looked at my post and im sorry guys I forgot the echo '

 

but i closed it already ;D

 

 

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? ???

Link to comment
Share on other sites

<?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

?>

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.