Newbie question,
how do i read $username from file_b.php?
e.g. in file_a.php <? if{$username=="john"){ echo "John is online"; { ?>
include ('file_b.php');
check your braces. <? if ($username=="john"){ echo "John is online"; } ?>
Thanks Greg...
Problem: file_b.php is over 900 lines of code and full of output.
What if you just want that one variable???
Get the variable some other way. There has to be an alternative.
Store it in a session