Not sure why you have this:
Code:
$GetINI = $tarray

Exit($error)



I would think that this would only return the errorcode and never your desired array. I would structure the logic to only "Exit($errorcode)" where an actual error occurred. If you always want to return the error code with data. Then you would have to structure a multi-dimensional array or employ some other array technique.


Edited by Howard Bullock (2004-05-14 10:29 PM)
_________________________
Home page: http://www.kixhelp.com/hb/