PDA

View Full Version : array_slice


Code Monkey
11-24-2005, 03:13 PM
Does vb have a problem with array_slice?

Every time I try to use it in a certain extension I am working on, the script fails to work. As soon as I remove array_slice it works again.

*baffled*

Marco van Herwaarden
11-24-2005, 03:32 PM
array_slice is a standard PHP function, not a vB function, and if coded correct it should work.

Code Monkey
11-24-2005, 03:57 PM
Interesting, print_r reveals it is working. Yet, the script won't work on the new array.

*errrrr*

jugo
11-24-2005, 04:32 PM
maybe the problem is the output and not the code.

Code Monkey
11-24-2005, 04:40 PM
Never mind, the problem was with the logic of the code.