Only need a printed value from included.php file

Hi guys,
– in index.php, i included another file, that is included.php

PHP:

include "included.php";

– this is the included.php file content, its including another file too, that is included2.php

PHP:

 

include "included2.php";

$name = echo "$list->hospital[‘room’]";

 

– i only need a variable value that already printed & processed in included.php, that is people name,
and just get the name printed value in index.php, without including included2.php file too,
maybe processing…
Only need a printed value from included.php file

See original post by basketmen

Leave a Reply