PHP include w/o echo -
I am coding a web site and I have a php function called site_nav.fpp which is the first $ list array Defines it present in a Jason form. In this way, I can get my web site map with Ajax. My problem is that, I want to get $ list object Php, without echoing the Jason object. My question: Is there a way to include my PHP file without activating an echo call in it? Thanks a lot! Yes, just use the output buffering and see the documentation. ob_start (); ("File.php"); Ob_end_clean ();