Re: What is the difference: include()

From: Date: Mon, 17 Mar 2003 19:01:32 +0000
Subject: Re: What is the difference: include()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-139998@lists.php.net to get a copy of this message
Only that you can embed vars in the second one. if $foo='bar'; include('somefile_{$foo}'); will include the file 'somefile{$foo}', where include("somefile_{$foo}"); will include the file 'somefile_bar' HTH. Charles Kline wrote:
What is the difference as in... why one or the other? include('somefile.php'); include("somefile.php"); Just wondering... - ck


« previous php.general (#139998) next »