Codice: |
$sql = "SELECT sid, title, topic FROM ".$prefix."_stories WHERE topic='numero_id_che_hai_scelto' ORDER BY title ASC ";
$result = $db->sql_query($sql);
while (list($sid, $title, $topic) = $db->sql_fetchrow($result)) {
$title = stripslashes($title);
echo" <a href=\"modules.php?name=News&file=article&sid=".$sid."\">$title</a><br>"; |