Author Topic: Solved, Two More Questions About PHP/HTML  (Read 661 times)

Right, I'm trying to read an html file as plain text with php. Reading line by line and then printing doesn't do what I want. If the following text is in an html file: "<a href="durrhurr.com">Link</a>" PRINT only prints a linked text "Link", I want it to print "<a href="durrhurr.com">Link</a>". Could someone who knows what they're talking about help with my noob question?



How do I make a form field larger?


How do I allow PHP to access a file for writing (it's in the same directory and is a .php file)?
« Last Edit: October 10, 2010, 02:37:01 PM by Wizard »


The same problem occurs even if I print a plain text file with all the stuff in it.

Also I don't think you understand the question otto, as much as I appreciate the bump.

Is there a print setting to turn it off?

the only "argument" for print that I'm aware of is the string to print.

is there some sort of nohtml tag or something?

i did this in notepad,

typed it

printed straight from the program

it didn't do that.

Use <code>:
Code: [Select]
<code><a href="durrhurr.com">Link</a></code>

PHP won't let me put html inside a <?php this area ?>

You could always replace the <'s with &lt; and the >'s with &gt;

Thanks truce. While I have a topic, how do I expand a form made in html? Like make it bigger than 1 line tall

echo(html_entites("blahblahhlhllhhlaldf"));