Editing a paragraph with PHP

Hello
I have a question, it maybe a dump question but i haven’t been able to find answer anywhere else.
I will just write the code first:

<html>
  <body>
    <p></p>
  </body>
</html>

[php]

<?php $var = 'some text in here'; ?>

[/php]

Then my question is, how do i get the text in the PHP variable, to appear in the HTML paragraph text?

Thanks.
Jones ;D

Put the entire php script between the p tags, save as a php file

Sponsor our Newsletter | Privacy Policy | Terms of Service