$sor = mysql_query("select * from tabloismi where postakodu='100'); while ($e=mysql_fetch_array($sor)){ $postakoduicerigi = $e['postakoduicerigi']; }