include question

From: Date: Mon, 17 Sep 2001 22:03:31 +0000
Subject: include question
Groups: php.general 
Request: Send a blank email to php-general+get-67689@lists.php.net to get a copy of this message
Hi ! I'm using include() function to print html code nested in a function in the included file when a link is selected. I was wondering if the whole php file that is included gets loaded, or the server just sends the code from desired finction? Can I put more than one function full of html code in one file without fear that each time user will have to wait for the whole php to load ? exp: if(){ include("file.php")//is the whole file.php loaded, or just the function() ? function_with_html_code_in_it(); } Thanks Nikola

« previous php.general (#67689) next »