if ($threadid == 1) { $gettitle = mysql_query("SELECT * from USER where USERNAME='$post[title]'"); $postloser = mysql_fetch_array($gettitle); }