in place so not sure why it is doing this. Any ideas? Here is the ode I want to just display as text.
<form id="sports" action="Query.php" method="POST" name="sports">Select a Sport
<select name="category_id"> < ?php</select> <select name="category_id"> $sql = "SELECT category_id, sport FROM sports ".</select> <select name="category_id">"ORDER BY sport";</select>$rs = mysql_query($sql);
while($row = mysql_fetch_array($rs))
{
echo "".$row['sport']."\n "; } ?>
<input type="submit" name="submit" value="Select a Sport" /></form>
Is there any way to solve my problem? Thank you.
]]><div style=”float: left; width: 300px; height: 312px;border:1px solid black; background-image:url(https://s1.ourstage.com/pdf/counter/FHTA/fhtabg.png);”>
<div style=”float: left; width: 300px; margin-top: 220px;”>
<div style=”float: left; padding: 0px 0px 0px 5px; cursor:pointer;”> <img src=”https://s1.ourstage.com/pdf/counter/FHTA/fhtalogo.png” border=0></div>
<div style=”float: right; margin: -10px 9px 0px 0px; text-align: right; cursor:pointer;”> <img src=”https://s1.ourstage.com/pdf/counter/FHTA/osfhtalogo.png” border=0></div>
</div>
<div style=”float: left; width: 300px; margin-top: 15px;”>
<div style=”float: left; padding: 0px 0px 0px 5px; cursor:pointer;”> <img src=”https://s1.ourstage.com/pdf/counter/FHTA/fhtajoinnow.png” border=0></div>
<div style=”float: right; margin: 5px 7px 0px 105px;”><img src= “https://www.ourstage.com/banner/charity/soledadisgoneforever.jpg” border=”0″ /></div>
</div>
</div>
]]>I am looking for a way to display code (PHP, CSS, etc) in a post similar to how it is displayed on WordPress.com:
https://en.blog.wordpress.com/2007/09/03/posting-source-code/
This is a great solution, but how do I get it on my own blog not associated with WordPress.com? I know that other sites like nettuts.com have this working.
Any ideas?
]]>