Hello
I currently maintain an e-bulliten where I'm required to update information regarding upcoming conferences.
Currently, I write the code by hand, using the following template and filling in the gaps:
Code:
<p><a name=""></a><strong></strong></p>
<p>Date: </p>
<p>description</p>
<p>Location: </p>
<p>Further information: <a href="" target="_blank"></a></p>
<p align="right"><a href="#top">Back to Top</a></p>
<hr />
<!-- -->
I will be able to make the bulletin quicker, by creating an HTML form, where I put the info in and submit it. I will then use a PHP page tohandle the form and print out the code above, with the variables included where they belong.
Then, I just copy the code into the HTML page I'm updating and it will be a hell of a lot quicker.
Currently, my basic form is here: http://hamishnet.homelinux.com/~hami...ences_form.php .
My problem is: When one uses the "print" command in PHP, to print, say
it reads the <p>'s etc as HTML command (which is obviously very clever, but not what I want).
I know that I can use \"$href\" to escape the apostrophies (").
My question is, how can I get PHP simply to print the HTML code and NOT to include it into the page?
Thanks
Hamish
__________________
Please login or register to view this content. Registration is FREE secure and fully automated computer data backup for small and medium sized companies.
Please login or register to view this content. Registration is FREE
|