asking for help | Peter's Sports League Standings | Forum
Back to the sports standings script page
8:01 pm
Hi peter,
first of all I want to thank you very much for this lovely script
peter,
1- Just I want to ask if you can add another table for goal Diff.(F-A)
it is very important in soccer ( I tried but I failed)
2- another , would you please tell me how can I add another table for goalscores , just table I can write the players manual even in seperate page
3- I encoded the script to anothe language , every thangs went smooth except the months which still in englisg language despit I changed its to my language.
4- another thing : the script does not accept user registration other than english language (like arabic language)
5- I want add empty value in date ( months , days,years,time) cuaus I have some much i am not sure for date
your help will be appreciated
thank you
My answers probably aren't very helpful, as I have no time to support this script at the moment.
1) Since you already get F and A in the result set, you can use PHP to just calculate the difference.
2) I don't understand what you're asking. You can extend the script to include a player module.
3) The dates are output via PHP. You could look into the function setlocale in PHP for controlling how it outputs date names.
4) That might be a database table encoding limitation. You might also have to use utf8_encode on some variables.
5) There's no quick solution for that other than putting in at least a guess of a year and month.
10:23 am
thank you peter
- regarding numer 1
I ried but I faild
- regarding to number 2 have a llok for this photo
[Image Can Not Be Found]
8:13 am
Hey Pete
Having trouble with login ,I put the default user and password and It showing me this.
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/5/d341443114/htdocs/standings/secure.php on line 21
Sorry, the username you entered does not exist or your account is inactive.
Did I miss something?
3:42 am
khild said:
hi peter,
I know that you are busy but I want your helpas I told you before I need a goal Diff.(F-A)
I tried but I can not do it
would you please write down the code and where can I put it- also I still have same proble in manths's name , it still in English names
Create new var like:
$gol_razlika_formula = '(teamrf - teamra)';
and output it in standings results... something like this: