#include # Some useful definitions for Infodrom Linx #
Infodrom Linx

Powered by Linux
00c8ff e6e8fa ffffff 10 ", "", "") or die("Unable to connect to SQL server"); $sth = pg_exec ($dbh, "%0"); $category = ""; if (pg_NumRows ($sth) > 0) { echo '
'."\n"; for ($nr=0; $nr < pg_NumRows ($sth); $nr++) { $row = pg_fetch_array ($sth, $nr); if ($category != $row['category']) { printf (''."\n", urlencode($row['category']), $row['category']); $category = $row['category']; $linx = 0; } printf (''."\n", $linx, $row['url'], $row['subject']); $linx = (int)!$linx; } echo "
\n"; } ?>