session_start(); error_reporting(E_ALL); ini_set('display_errors', '0'); //Connecting to database $dbhost = 'localhost'; $dbuser = 'bptraining_admin'; $dbpass = 'Blr1gbattlemaster'; $dbname = 'blue_path_training'; $conn = mysqli_connect($dbhost, $dbuser, $dbpass,$dbname); if(! $conn ) { die('Could not connect: ' . mysqli_error()); } // set nav dropdown name $nav_dropdown_name = "tools"; // set nav page name $nav_page_name = "tools_tutorials"; // include content functions include("functions/functions_content.php"); // number of courses per page $number_of_tutorials_per_page = 15; // function to grab the tags for a tutorial function output_ids($content_id) { // start off with nothin.. $tag_ids_string = " "; // grab the content tags for a tutorial and output them in the " 2 3 4 " format $result_content_tags = mysqli_query($conn, "SELECT * FROM tags_to_content WHERE content_id = " . $content_id); while ($query_data_content_tags = mysqli_fetch_assoc($result_content_tags)) { $tag_id = $query_data_content_tags["tag_id"]; // concatinate in the id's with an extra space $tag_ids_string = $tag_ids_string . $tag_id . " "; } return $tag_ids_string; } ?>
Our tutorials library is a collection point for topics that fall outside of a standard curriculum. If you have any suggestions for a new topic you'd like covered, feel free to drop us a line!
echo $flavour_text; ?>