attorney as $attorney) { switch((string) $attorney['id']) { // Get attributes as element indices case $id: ?> Bassford|Remele ::::::: <?php echo $attorney->fname?> <?php echo $attorney->lname?> :::::::