"; return 0; } } function get_categories($_name,$_size,$_select_id) { global $link; $_name = "name=$_name"; // put name= in front of the given name if (!isset($_size)) { $_size = 5; } print ""; } function display_error($_error) { if ($_error != "") { print "
ERROR: $_error
"; } exit(); } function get_cat_name ($_cat_id,$_noprint) { global $link; $query = "select name from categories where id = '$_cat_id'"; $conn = mysql_query($query,$link); //@connect_test($conn,"Could not get name - $_cat_id"); $_name = mysql_result($conn,0,0); if ($_noprint) { return $_name; } else { print "$_name\n"; return 1; } } ?>
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/forge/coincollector.org/public/vault/inc/db.inc:9 Stack trace: #0 /home/forge/coincollector.org/public/vault/coin.html(60): require() #1 {main} thrown in /home/forge/coincollector.org/public/vault/inc/db.inc on line 9