PHP Code:
cmdShowTime(id)
The function cmdShowTime() is defined to take a variable ("id"). This is what is causing the "number of arguments does not match the definition" message.
Line 223:
PHP Code:
cmdShowTime = true
cmdShowTime is not a variable. You can't set it to true.
Also, your code will not work as you probably expect it to. In your current set up it will run all the functions all the time (just one of the errors in your logic). Just think about it for awhile and see if you can figure it out.
__________________