hey,
I'm having a bit of difficulties with the site i'm currently working on...
I'm using 19 different tables in a mysql dbase
who all get read by the same script.
But 3 of them won't show their data.
The tables in question are called 1sh, 2sd and rsd.
They have exactly the same structure as the others
and the same types of data in it.
I don't get an error message when running the script either...
Does anybody have a clue to hit me with?
$fields = "$page.ID as code,DATE_FORMAT($page.Date,'%d/%m/%Y') as dat,team1.name as t1,$page.HScore as s1,$page.AScore as s2,team2.name as t2";
$tables = "$page,teams as team1,teams as team2";
$where = "$page.Home=team1.id and $page.Away=team2.id";
$order = "$page.Date,$page.ID";
$query = "select $fields from $tables where $where order by $order";
$result = mysql_query($query);
$page would be 1SH, 2SD or RSD.