PHP help
PHP help
Out of context: Reply #9
- Started
- Last post
- 13 Responses
- acescence0
if you echo an array, you'll just get Array, so that's expected behaviour. if you want to see the contents of an array you need to do something like print_r($myArray) or var_dump($myArray)
if it's just one number, your array will contain just one element.
not sure where the error is in this case, i'd have to see all of the template code.