Echoing HTML from a database

danielneridanielneri WP V.I.P.VPS - Virtual Prince of the Server
I have a database where i house all my tutorials.

im trying to display html, but instead it just gets rendered into the page.
http://www.vipercreations.com/tutorials.php?cat=PHP&id=25&act=view
its addfile.html.

in the database i have this:
<html><body>  <form action="addfile.php" method="post"><br />  <p>File name<input type="text" name="file_name" /><p><br />  <p>File Extension: <select name="file_ext">  <option value=".php">PHP</option>  <option value=".txt">Text</option>  <option value=".html">HTML</option>  <option value=".js">JavaScript</option>   <br />

<br />
</select></p>  <p><input type="submit" name="submit" value="Submit!" /></p>  </body>  </html>

but that doesn't do anything :(

what do i do? please help this is seriously driving me up the wall :banghead:
ban1.gif

Comments

  • nmallarenmallare Beginner Link Clerk
    I've looked at this a few times now, and I cannot seem to quite pin-point what the "&lt" and "&gt" are.

    Also, what exactly is/was the problem?

    Nick
Sign In or Register to comment.