&& active='1'
[code]$r2 = "SELECT * FROM dd_games WHERE category='$ID' && active='1' ORDER BY name ASC LIMIT ".$limits.",".$max ;
$r = $db->query(sprintf('SELECT * FROM dd_games ORDER BY rand() LIMIT '.$limits.','.$limitboxgames.' '));
$r = $db->query(sprintf('SELECT * FROM dd_games ORDER BY views DESC LIMIT '.$limits.','.$max.' '));
$r = $db->query(sprintf('SELECT * FROM dd_games ORDER BY dateadded DESC LIMIT '.$limits.','.$max.' '));
$rrb = $db->query('SELECT * FROM dd_games ORDER BY RAND() LIMIT 0,6');
$r = mysql_query("SELECT * FROM dd_games WHERE name LIKE '%$keyword%'") or die(mysql_error());
$r = $db->query(sprintf('SELECT * FROM dd_games && active='1' ORDER BY rand() LIMIT '.$limits.','.$limitboxgames.' '));
$r = mysql_query("SELECT * FROM dd_games WHERE `active`='1' ORDER BY rand() LIMIT $limits,$limitboxgames");
Hey am-fs, I can't read your code.
/* A code block - maybe even PHP ;). */.code{ color: #000000; background-color: #fafafa; font-family: "courier new", "times new roman", monospace; font-size: 1.1em; line-height: 1.3em; /* Put a nice border around it. */ border: 1px solid #000000; margin: 1px auto 1px auto; padding: 12px; width: 99%; /* Don't wrap its contents, and show scrollbars. */ white-space: nowrap; overflow: auto; /* Stop after about 24 lines, and just show a scrollbar. */ max-height: 24em;}