Page 1 of 1

Function/Include File

Posted: Sun May 18, 2003 4:27 pm
by Templeton Peck
If I have a function in an include file and I have 5 variables I want returned from that function to the file calling the function, how do I do it?

Posted: Sun May 18, 2003 6:30 pm
by AVATAr
make that function return an array with those values

Posted: Sun May 18, 2003 6:44 pm
by m3mn0n
Simply go about as if the function was right inside the file, because technically it is when it's included at the top of the main file.

Posted: Sun May 18, 2003 7:26 pm
by Templeton Peck
thanks guys :)