Reply to Managing a sports league

Your name:

Reply:


Posted by mick white on 10/09/06 20:16

I have a mysql table which gives results of matches played:
mysql> desc PLG;
+----------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------+------------------+------+-----+---------+----------------+
| matchid | int(10) unsigned | | PRI | 0 | auto_increment |
| gamedate | date | YES | | NULL | |
| homeTeam | varchar(30) | YES | | NULL | |
| htg | smallint(2) | YES | | NULL | |
| atg | smallint(2) | YES | | NULL | |
| awayTeam | varchar(30) | YES | | NULL | |
+----------+------------------+------+-----+---------+----------------+

where htg = home team goals
where atg = away team goals

Is there a [simple*] way to create a league table?
(using PHP 4, mysql 3.22.32)
Any rhoughts?
Thanks.
Mick

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация