$SECTION = "General";
$Title = "Solar Culture Gallery : links";
include("wrapper_head_front_section2.inc");
function LinkList () {
require("../includes/sc_conf.inc");
$Query = "SELECT DISTINCT link_category FROM links";
$Result = mysqli_query($Link, $Query);
while ($row=mysqli_fetch_array($Result)) {
$Query2 = "SELECT * FROM links WHERE link_category='" . $row['link_category'] . "'";
$Result2 = mysqli_query($Link, $Query2);
print("
\n");
print("
\n");
$stripped_link_category = stripslashes($row['link_category']);
print("$stripped_link_category\n");
while ($row2=mysqli_fetch_array($Result2)) {
$link_name = stripslashes($row2['link_name']);
$link_description = stripslashes($row2['link_description']);
print("