I have an info.php file where I have things that will appear on alot of pages like my menu and one of the things I have in the file is

Code php:
$text1 = "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur at sem at justo venenatis venenatis id at ipsum. Integer non cursus lectus. Aliquam adipiscing elit sit amet velit tristique aliquam.</p>"
$name1 = "name1"

Say I wanted to place "<?php echo $name1 ?> inside the paragraph for $text1.. is that possible? how would I do it?