All pastes #553522 Raw Edit

JustGags

public php v1 · immutable
·published 2007-06-09 19:17 UTC
rendered paste body
$sql = "SELECT propid,title,userid,timestamp,avgrank        FROM proposals        WHERE catid='$catID'        ORDER BY timestamp DESC        LIMIT 10";$recentProp = mysql_fetch_array(mysql_query($sql));while ($row = $recentProp) {echo $row["title"];}