NOTE: though the main likely cause for your problem was bolded out, i've included a complete debug flaw you should make to eliminate all other causes that might make this happen.
so if you are in a hurry, try the bolded section first (3b), and if still not working then follow all steps from start.
u can say the debug flaw is similar to the debug we've made before -
1. check all steps again, starting with running the queris into your phpMyAdmin:
You must first be a
registered member to view any code.
if that is ok, then write down the ID & run this:
You must first be a
registered member to view any code.
if any of the above fail, prolly bad table name or fields name - then just note it down & fix it.
2. if this is ok, continue with running the php from browser, and check the output.
if output (do VIEW SOURCE) is other than xxx \n yyyy \n zzzz etc., then write down the output u get or the error you see, and it will indicate this is php fault.
3. if output is correct = tcl:
a] make sure you REHASH your bot to reload script, sometimes even rebooting bot can help, as even rehashing doesn't solve it.
b] THE MOST LIKELY BUG (though its worth checking all as well to eliminate other causes):
from comparing both of your TCL files, it seems you named both of your procs with same PROC NAME = "userstat".
so just rename this one (or the previous one), and update your bind line with new name.
so new current tcl will be like this:
You must first be a
registered member to view any code.
enjoy
