I tried your suggestion to my UPDATE problem and it worked!! Such a simple "minor" issue but by using '$userid' and not just $userid, it now works. Guess I was trying to make it much more difficult than it needed to be...an oversight!
Thanks again!!
gary