in reply to Missing the if statement and going directly to else

On a purely administrative note, you're not being a pest by asking questions, but you are being kind of a pest by not posting things in the approved way.

It would really help if you put <code> tags around your code -- this would stop "fields[0]" from coming out like "fields[0]" for a start.
--
“Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.” M-J D

  • Comment on Re: Missing the if statement and going directly to else