Wed Apr 08, 2009 8:12 pm
$db = new Database($config['server'], $config['user'], $config['pass'], $config['database'], $config['tablePrefix']);
$db->connect();
$sql = "SELECT lt FROM meniu";
$countRows = $db->query($sql);
while ($countRow = $db->fetch_array($countRows)) {
echo "<li class='sub'><a href='javascript:void(0)' onclick='open_url('content.php?id=','my_site_content');'>".$countRow['lt']."</a></li>";
}
$db->close();
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.