Re: What is the difference: include()
| From: | Charles Kline | Date: | Mon, 17 Mar 2003 19:03:49 +0000 |
| Subject: | Re: What is the difference: include() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139999@lists.php.net to get a copy of this message | ||
perfect. thanks for the explanation.
cheers,
charles
On Monday, March 17, 2003, at 02:01 PM, Pete James wrote:
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