\n"); $cnt = mysql_num_rows($result); return $result; } /*function query($query){ global $mysql_link; mysql_query($query, $mysql_link); if(mysql_error() != "") die("query($query) - RS SQL ERROR: " . mysql_error()); }*/ // array getVal; returns array of values for paticular row function getVals($result){ return mysql_fetch_row($result); } function getRow($query){ $result = getResult($query,$cnt); return mysql_fetch_row($result); } function count_rows($query){ getResult($query,$rows); return $rows; } function get_name($pin){ if ($pin == 0) { return "TBA"; } $val = getRow("select Name from Roster where ID=$pin"); return $val[0]; } ?> Rebel Squadrons - Order of Battle - Browse







Class:
Craft: