I am trying to print a table but I can't.
I have a file called r.php with rules like
<?php $rule['ab'] = "afd"; $rule['vf'] = "ghe"; $rule['as'] = "rtg"; ?>
and in another file I write
<?php include_once("r.php"); $a = 'as'; echo $rule[$a]; ?>
but it is not printed rtg in my screen
What is wrong ?
Thanks a lot