\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:

Fatal error: Uncaught Error: Call to undefined function mysql_fetch_assoc() in /var/www/vhosts/rebelsquadrons.org/httpdocs/oob/classes2.php:22 Stack trace: #0 /var/www/vhosts/rebelsquadrons.org/httpdocs/oob/classes2.php(17): ship->generate_data() #1 /var/www/vhosts/rebelsquadrons.org/httpdocs/oob/browse2.php(164): ship->ship('24') #2 {main} thrown in /var/www/vhosts/rebelsquadrons.org/httpdocs/oob/classes2.php on line 22