'; $state = mysql_result($result, $i); echo "$state
"; } if($result) mysql_free_result($result); ?>