Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

hi

I am trying to display the image folder tree into dropdown menu.

echo tep_draw_pull_down_menu('sub_directory', showSub($dir2, $sub));
    foreach( $it as $key => $temp ) {
    ......
    }


the error message indicate that @admin/includes/function/html_output.php foreach inside the tep_draw_pull_down_menu() has Invalid argument supplied...
Link to comment
Share on other sites

10 hours ago, ce7 said:

showSub($dir2, $sub)

It's telling you that that function is not returning an array.  It would need to consistently return an array to be used that way. 

Always back up before making changes.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...