Overall Question "How to I insert a <title> as text, not the actually title of the page. Abit Clearer Below
$title = $_POST['title'];
echo "<TITLE> $title </TITLE>"
Sorry for the terrible English
Thanks in advance
Rees
PHP title tag
You just want <title> to show up in your HTML?
< title >
although the < / > might be the other way round, I can never remember which is which.
It doesn't matter that you're using PHP, it's the same thing that needs to be 'written' to the HTML.
(I think that's what you want to do... if not can you explain it a bit more clearly?)
PHP title tag
Yeah thank you, Thats great. In actual fact I am building a meta creator in PHP and it is going great at the moment I put the <title> tag in to a textarea and seemed ok. So I dont know which method to use
If you know What I mean
Thanks Again
Rees
PHP title tag
Hi
If, say, the text to go into the textarea was $mytext, then do this:
$mytexttoshow=htmlspecialchars($mytext);
which will convert all special chars to their html entities.
Trevor