well to sum this problem up & debug this one once for all, i would suggest to do ALL of these steps & only then come back with ALL info required in order to help you out:
1. run the php file from your browser with paramerters, like this:
http://www.mydomain.com/your_php_file_name.php?team=ind
then just right-click->view source.
examine teh content of window it should be something like
xxxxxx \n yyyyyyy \n zzzzzzzzzz
if u got it, php is fine & it's tcl.
if you don't have it - it's php/mysql issue.
2. in case it's tcl (which i'm doubt, assuming u fixed the "kaddy" var), make sure the bot is configured correctly.
3. if it's php/mysql (you didn't get the above output line):
probably means the table name or feilds are wrong.
a] open phpMyAdmin.
write down the name of the specific table (userteam)
b] try to run from the SQL query the query:
You must first be a
registered member to view any code.
and see what results do u get, if any.
if u have any error - it strongly suggests your table name has some prefix there or doesn't exsits at all.
if it returns to you blank (no records), then it means your table is empty, and you haven't created the teams under the admincp.
now with all the above gathered debug information, you should be able to know what's wrong & fix it.
also, if anyone solved this one, i ask you to plz inform the maker of this hack/mod so he may fix it & update it for the other users.
greets.