PHP $GLOBALS as array issue -


i trying store array in $globals , using following code:

$globals['cols'] = array(); 

but seems printing word 'array' actual page being called.

any ideas why it's doing or how can around it.

there variable named $cols being echoed echoing 'array'. changed $globals['cols'] $globals['columns'] , it's been removed. thank replies


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -