Startdatum inom parentes.

’;
//Database query ————————————————-
require(”connect.php”);

$today = DATE(”Y-m-d”);

$query = ”SELECT DISTINCT program.namn, program.url, program.inldatum, logo, kanal.playnamn, program.trailerYP
FROM kanal, program
WHERE program.kdbnr = kanal.kdbnr
AND program.trailerYP LIKE ’%script%’
ORDER BY inldatum DESC
LIMIT 0, 24”;

$resultat = mysqli_query($dbc, $query);

$numrows = mysqli_num_rows($resultat);

while ($rad = mysqli_fetch_array($resultat)) {
echo ’

’;
echo ’

’;

echo ’

’.$rad[trailerYP].’

’;
echo ’'.$rad['playnamn'].'’;
echo ’’.$rad[namn].’ (’.$rad[inldatum].’)’;

echo ’

’;

echo ’

’;

}

echo ’

’;
echo ’

’;

?>


Comments are closed.