Jump to content

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...

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×