HPvH
asked on
Show code on your site, so they can copy it.
Hi,
I want to show this code in a frame or table so people can copy it and use it on there own site.
How to show code on a php page??
<!-- Start 468x60 Banner -->
<a border="0" href="http://www.sitename.nl"><img src="http://www.sitename.nl/banners/mesjes468x60.gif" alt="MyAlt Text" border=0></a>
<!-- Einde 468x60 Banner -->
I want to show this code in a frame or table so people can copy it and use it on there own site.
How to show code on a php page??
<!-- Start 468x60 Banner -->
<a border="0" href="http://www.sitename.nl"><img src="http://www.sitename.nl/banners/mesjes468x60.gif" alt="MyAlt Text" border=0></a>
<!-- Einde 468x60 Banner -->
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
better use <iframe>...</iframe> to display something like this info as table or grid section like... some cool examples at http://www.htmlcodetutorial.com/frames/_IFRAME.html
ASKER
I need a code that shows the code on a page so a person can cody the code and use it.
Like:
<div class="phpcode"><code><spa n class="html">
<html><br />
<head><br />
<title>Voorbeeld< /title> <br />
</head><br />
<body><br />
<br />
<span class="default"><?php <br />
</span><span class="keyword">echo </span><span class="string">"Hallo! Ik ben een PHP script!"</span><span class="keyword">; <br />
</span><span class="default">?><br />
</span><br />
</body><br />
</html></span>
</code></div>
Like:
<div class="phpcode"><code><spa
<html><br />
<head><br />
<title>Voorbeeld<
</head><br />
<body><br />
<br />
<span class="default"><?php <br />
</span><span class="keyword">echo </span><span class="string">"Hallo! Ik ben een PHP script!"</span><span class="keyword">; <br />
</span><span class="default">?><br />
</span><br />
</body><br />
</html></span>
</code></div>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!