Miscellany
public php v1 · immutablemysql_connect($server,$username,$password) or die(mysql_error());mysql_select_db($database);$query = "SELECT postid FROM vbthread WHERE forumid = '6' LIMIT '3' ORDER BY 'dateline' ASC";while($row = mysql_fetch_array(mysql_query($query))){ if(!isset($postid['1'])) { $postid['1'] = $row['postid']; } else if(!isset($postid['2'])) { $postid['2'] = $row['postid']; } else if(!isset($postid['3'])) { $postid['3'] = $row['postid']; }