
Mam taka funkcje
<?php function getNextGame1() { $query = "select * from $dbaseMatchData inner join $dbaseLids on $dbaseMatchData.lid=
$dbaseLids.lid where matchdate>='$todaysdate' order by matchdate LIMIT 5"; $result = $dbase->query($query); if ($count == 0) { $nextmatch = "<b>$No_Matches_Scheduled</b>"; } else { $matchid = $line["matchid"]; $matchleague = $line["title"]; $matchdate = $line["matchdate"]; $textdate = convertDatetimeToScreenDate($matchdate); $nextmatch = "<div style='widht= 580px;border= 2px dashed red; background-color= #e0f8b0;'><center><table><tr><td>$matchleague</td><td>$hometeam</td><td>-</td><td>$awayteam</td> <td>$textdate</td></tr></table></center> </a></b></div>"; } return $nextmatch; } ?>
Wyświetla jeden wynik (mecz) tylko ...
Mam prośbe do ekspertów z tego forum
Czy można zrobić i w jaki sposób by wyświetlało np . 5 rekordów (meczy )
Prosze o pomoc...