Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as text by jackie ( 17 years ago )
<?
		  	$seln = mysql_query("SELECT id,titel,loc,icon FROM ".$pre."news WHERE type='scene' ORDER BY id DESC LIMIT ".$lnews."");
			?>
      <tr><?
				$c = 1;
				while($n = mysql_fetch_object($seln)) {
					$titel = inkorten($n->titel, 60);
					$nid = $n->id;
					$loc = $n->loc;
					$icon = $n->icon;
					
					$d = mysql_num_rows(mysql_query("SELECT id FROM ".$pre."ncomments WHERE newsid = '".$nid."'"));
					if($d < 10) { $d = "0".$d.""; } else { $d = $d; }
				
					?>

 

Revise this Paste

Your Name: Code Language: