to a PHP variable
<?php $phpvariable ?>
So is there an easy way to do this without having to dump pages of code on my page to do one simple thing?
Maybe the most easiest approach for you is something like this
On your myphpfile.php you can use