Click to See Complete Forum and Search --> : a question can php execute another php within


niha
10-20-2006, 04:14 AM
can i add/include a php file 1 within another file 2 where the php file 1 gets executed.
in other words. can i excute a php file included withing another php file if yes how.
thanks alot

stephan.gerlach
10-20-2006, 04:48 AM
include('file1.php');

theRamones
10-20-2006, 05:54 AM
to avoid twice or more include (for the same file) use include_once('file1.php');