WordPress.org

Support

Support » Themes and Templates » multi-dimensional array in theme not working

multi-dimensional array in theme not working

  • I’m trying to build a multi-dimensional array from a database query in a theme page. if I do this: $array[$name]=$value; it works fine,but, as soonas I try this: $array[$name][0]=$value; or $array[$name]=array(0=>$value); it fails. Anyone know why? Please help!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘multi-dimensional array in theme not working’ is closed to new replies.
Skip to toolbar