Search found 2 matches
- Sat Sep 04, 2010 1:09 pm
- Forum: PHP - Code
- Topic: problem returning array from function
- Replies: 1
- Views: 229
Re: problem returning array from function
found my own problem
being that the return statement was in an include file, it was placed after the last brace of the function, thus not getting executed. Sorry for the newb post.
- Sat Sep 04, 2010 9:50 am
- Forum: PHP - Code
- Topic: problem returning array from function
- Replies: 1
- Views: 229
problem returning array from function
Hey folks, captain Brandnew McNewbie here im having trouble returning an array from a function. The array data will display correctly inside the fucntion but somehow gets lost when i try to assign the return to a variable and display from outside the function. Any comments are greatly appreciated. /...