Skip to content

Instantly share code, notes, and snippets.

/createeplan.php Secret

Created Dec 27, 2014
Embed
What would you like to do?
<div id="tree">
<ul>
<?php foreach($questionaire as $keyque => $dataque) { ?>
<li id="<?php echo $keyque; ?>"> <?php echo $dataque; ?>
<ul> <?php foreach($category[$keyque] as $keycat => $datacat) { ?>
<li id="<?php echo $keycat; ?>"><?php echo $datacat?>
<ul><?php foreach($question[$keycat] as $keyqun => $dataqun) { ?>
<li id="<?php echo $keyqun; ?>"> <?php echo $dataqun; ?>
</li>
<?php }?>
</ul></li>
<?php }?>
</ul>
</li>
<?php }?>
</ul>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment