0){ $prow = mysqli_fetch_assoc($get_photog); $studio_name = $prow['studio_name']; $logo = $prow['studio_logo']; $studio_email = $prow['studio_email']; $user_firstname = $prow['user_firstname']; $user_lastname = $prow['user_lastname']; $user2_firstname = $prow['user2_firstname']; $user2_lastname = $prow['user2_lastname']; $studio_address = $prow['studio_address']; $studio_city = $prow['studio_city']; $studio_state_abbr = $prow['studio_state']; $studio_state = convertState($prow['studio_state']); $studio_zip = $prow['studio_zip']; $studio_country = $prow['studio_country']; if($prow['frame_width'] >= '300'){ $frame_width = $prow['frame_width']; } if($prow['frame_height'] >= '400'){ $frame_height = $prow['frame_height']; } echo '
'; if(!empty($logo)){ echo ''; }else{ echo '

'.$studio_name.'

'; } echo '
'; echo '
'; echo ''; echo '
'; } // end if the user exists else{ echo '
X

Sorry, I could not find this page.

'; } mysqli_close($dbconn); }else{ echo '
X

Sorry, I could not find this page.

'; } ?>