pouet.net/api/zx_demos_without_zxdemo.php

12 lines
479 B
PHP
Raw Normal View History

2013-05-07 14:20:08 -04:00
<?php
header('Content-Type: text/plain; charset=utf-8');
include_once('../include/misc.php');
include_once('../include/auth.php');
conn_db();
$query="SELECT id, name, download FROM prods INNER JOIN prods_platforms ON ( prods.id = prods_platforms.prod AND prods_platforms.platform = 82 ) WHERE ( zxdemo = 0 OR zxdemo IS NULL )";
$result = mysql_query($query);
while($row = mysql_fetch_array($result)) {
echo $row['id'] . '|' . $row['name'] . '|' . $row['download'] . "\n";
}
?>