$row['threadid'] = $threadid; :master:





$threadid = $row['threadid'];





ma se estrai una sola riga potresti risparmiarti il WHILE