• 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 3 replies - 1 through 3 (of 3 total)
  • Thread Starter walkacrossfire

    (@walkacrossfire)

    what does it take to get some help around here?!?

    perhaps not posting duplicate threads, and actually asking a WORDPRESS-related question.

    try a php forum if you can’t wait 12 hours for an answer to your irrelevant question.

    Thread Starter walkacrossfire

    (@walkacrossfire)

    outside of wordpress, in the same website, when I build a test page, the array builds perfectly. this does have to do with wordpress, not php. So, someone who actually knows about this, please help

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘multi-dimensional array in theme’ is closed to new replies.