nested
I have a question. I am trying to build a nested region within a repeat region. the outer region holds the states we have had projects in. The inner region listes the projects that we have completed in those states. I am able to created the outer region, but the inner region does not populate on the page. I have include a copy of the bare code for you to take a look and help me understand how to correct this. Thank you.
<?php require_once('Connections/mitoWebsiteMSQLI.php'); ?>
<?php require_once('webassist/mysqli/rsobj.php'); ?>
<?php
$Recordset1 = new WA_MySQLi_RS("Recordset1",$mitoWebsiteMSQLI,50);
$Recordset1->setQuery("SELECT DISTINCT completedProjects.state FROM completedProjects ORDER BY completedProjects.state ASC");
$Recordset1->execute();
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<body>
<?php
while(!$Recordset1->atEnd()) {
?>
<h2><?php echo($Recordset1->getColumnVal("state")); ?></h2>
<?php
$Recordset1->moveNext();
}
$Recordset1->moveFirst(); //return RS to first record
?>
<?php
while(!$Recordset1->atEnd()) {
?>