load();
require 'core/connection.php';
require 'core/host_config.php';
require 'core/query_functions.php';
require 'core/write_dataset.php';
write_dataset($conn);
$years = create_project_years_array($conn);
?>
My Profiles
num_rows > 0) {
//show all profiles
while($profile = $profiles -> fetch_assoc()) {
echo "
";
}
}
?>
Featured Projects
num_rows > 0){
//show top 2 featured projects for sidebar
$counter = 0;
while($featured_item = $featured_projects -> fetch_assoc()) {
if ($counter < 2) {
echo "
";
}
$counter++;
if ($counter >= 2) {
break;
}
}
}
?>
Currently Working On
num_rows > 0) {
//show all currently working on topics
while($working_on_topic = $working_on -> fetch_assoc()) {
echo"
".$working_on_topic['title']."
";
}
}
?>