First Team 2015 Season

[insert_php]

$con=mysqli_connect(“localhost”,”cl50-a-wordp-2u2″,”NB^JBNzC6″,”cl50-a-wordp-2u2″);
// Check connection
if (mysqli_connect_errno()) {
echo “Failed to connect to MySQL: ” . mysqli_connect_error();
}

$result = mysqli_query($con,”SELECT * FROM wp_1xi_fixtures WHERE year(date) = 2015 AND team = ‘1XI’ ORDER BY date ASC”);

echo “

“;

while($row = mysqli_fetch_array($result)) {
echo “

“;

if ($row[‘venue’] == ‘H’) {
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;

if ($row[‘link’] == ”) {
echo “

“;
echo “

“;
}
else
{
echo “

“;
echo “

“;
}
}
else
{
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;

if ($row[‘link’] == ”) {
echo “

“;
echo “

“;
}
else
{
echo “

“;
echo “

“;
}
}
}

echo “

Date Start H/A Opponent Comp Result Scorecard
” . date(‘D d M’, strtotime($row[‘date’])) . “ ” . substr($row[‘time’], 0, 5) . “ ” . $row[‘venue’] . “ ” . $row[‘opponent’] . “ ” . $row[‘comp’] . “ ” . $row[‘result’] . “
Click Here
” . date(‘D d M’, strtotime($row[‘date’])) . “ ” . substr($row[‘time’], 0, 5) . “ ” . $row[‘venue’] . “ ” . $row[‘opponent’] . “ ” . $row[‘comp’] . “ ” . $row[‘result’] . “
Click Here

“;
mysqli_close($con);
[/insert_php]

  • About Us

    Calmore Sports Club is primarily a cricket club operating from April to September but also offers its facilities to host birthday, anniversary, engagement and any celebratory parties in the main clubhouse room.
  • Recent Tweets