http://qs321.pair.com?node_id=447412


in reply to in_array and skipping foreach

There's no specific function for finding a value in an array. You make your own (or use a module). Yours seems fine.

For your second question, see next - specifically "next LABEL"
--------------
"But what of all those sweet words you spoke in private?"
"Oh that's just what we call pillow talk, baby, that's all."