I'm sure there is a simple solution to this problem as I am a beginner to PHP and do not really know what I am doing.
Here's my code:
full.php:
<?php
$AAA = '
include '/home/gzarprod/public_html/ugotitgear/php/alspals/colfull.php'; echo "$YRT";
';
?>
Mainly what I want to be able to do is to call up the AAA variable in full.php with the following code planted in another page (tree.php):
<?php include '/home/gzarprod/public_html/ugotitgear/php/alspals/full.php'; echo "$AAA"; ?>
This would essentially place whatever is in colfull.php, variable $YRT in tree.php.
Are you not able to put an include within the parameters for the variable? Is there another way to do this? Let me know if I did not explain what I am trying to do well enough and I will try again.
Thanks for any help!