Citazione: |
sempre loro il mio tormento come faccio a toglierli dal 7.6 che è diversa dalla 6.9 |
Codice: |
echo "<table border='0' width='100%' cellspacing='0'><tr><td width='20%'><b>"._ASSOTOPIC."</b></td><td width='100%'>"
."<table border='1' cellspacing='3' cellpadding='8'><tr>";
$a = 0;
$sql = "SELECT topicid, topictext FROM ".$prefix."_topics ORDER BY topictext";
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result)) {
if ($a == 3) {
echo "</tr><tr>";
$a = 0;
}
echo "<td><input type='checkbox' name='assotop[]' value='".intval($row['topicid'])."'>".$row['topictext']."</td>";
$a++;
}
echo "</tr></table></td></tr></table><br><br>"; |
Codice: |
/* echo "<table border='0' width='100%' cellspacing='0'><tr><td width='20%'><b>"._ASSOTOPIC."</b></td><td width='100%'>"
."<table border='1' cellspacing='3' cellpadding='8'><tr>";
$a = 0;
$sql = "SELECT topicid, topictext FROM ".$prefix."_topics ORDER BY topictext";
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result)) {
if ($a == 3) {
echo "</tr><tr>";
$a = 0;
}
echo "<td><input type='checkbox' name='assotop[]' value='".intval($row['topicid'])."'>".$row['topictext']."</td>";
$a++;
}
echo "</tr></table></td></tr></table><br><br>";*/ |