$a = mysql_fetch_array(mysql_query("SELECT articleid FROM `jieqi_article_article`ORDER BY articleid DESC LIMIT 1"));$maxid = $a['articleid'];