$query = "SELECT iid, itemtitel, tekst FROM items WHERE status='1' AND sid='13' ORDER BY positie DESC LIMIT 1";
$result = mysql_query($query);
$x = 1;
while ($row = mysql_fetch_object($result)) {
echo "
$query = "SELECT iid, itemtitel, tekst FROM items WHERE status='1' AND sid='".$pid."' ORDER BY positie";
$result = mysql_query($query);
while ($row = mysql_fetch_object($result)) {
echo "$row->itemtitel
"; echo "$row->tekst
";
}
$query = "SELECT iid, itemtitel, tekst FROM items WHERE status='1' AND sid='11' ORDER BY positie DESC LIMIT 1";
$result = mysql_query($query);
while ($row = mysql_fetch_object($result)) {
echo "$row->itemtitel
"; echo "$row->tekst
";
}
?>
$row->itemtitel
"; echo "
$row->tekst
";;
}
?>