12-26-2007, 06:02 PM
|
#7 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
php Code:
function _Download ($file, $file){ echo 'File 1: ' . $file . "\r\n"; echo 'File 2: ' . $file; }echo _Download ('Test1', 'Test2');
Result:
Quote:
File 1: Test2
File 2: Test2
|
I think that's what sjaq is trying to point out. Both $file variables, because they're named the same, will have the result of the last argument set to $file. Which in my case was Test2.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|