in reply to Strings/Numbers aren't equating properly

you've got your == and eq the wrong way round. When $mid's an int, you're using eq and vice-versa

Dave.

  • Comment on Re: Strings/Numbers aren't equating properly

Replies are listed 'Best First'.
Re^2: Strings/Numbers aren't equating properly
by M4ver1k (Novice) on Feb 21, 2018 at 23:56 UTC
    hahahaha Well that's funny, my bad. I fixed that, but still have the same results. Thanks for taking the time to poke at it.

      Please show the updated code that produces the same problematic results.

        I had edited the original post to fix it there. I also have since figured out the issue, and edited the original post with what I fixed. But it was flawed logic on my part. Thanks for taking the time to look at the post.