PHP GET, POST method mixed with html code to be visible as a plain text?

Hi, i have got a question, hope someone would like to help me.

I have two files:
Index.html

[code]
Name:
Age:

[/code]

And Php file (welcome.php):

[php]<?php
Welcome <?php echo $_POST["fname"]; ?>!

You are <?php echo $_POST["age"]; ?> years old.
?>[/php]

Is it any chance to lets say get what user put in to “fname” box and add text to be visible as a plain text instead of

Welcome BoldName.
, just Welcome <b>BoldName</b>

Any sugestions?

Sponsor our Newsletter | Privacy Policy | Terms of Service