I want to visit clubs with attractive women.
This phrase can be interpreted in two ways:
I want to visit clubs myself, but the clubs I visit should have attractive women.
I want to take attractive women to clubs; the clubs themselves may or may not already have attractive women.
Is there a name for this ambiguity? It seems fairly common. I want to say "dangling participle", but I'm pretty sure that's wrong.
Is this the equivalent of Grouch Marx's "I shot an elephant in my pajamas... how he got into my pajamas, I'll never know"?