//load the prices file $filename = 'prices.txt'; $contents = file($filename); //loop through each line and build prices array foreach($contents as $line) { //break line into parts $parts = array_map('trim', explode('|', $line)); $sanitized = preg_replace("/[^A-Za-z0-9]/", '', $parts[0]); $prices_arr[$parts[0]][$parts[1]]['category'] = $parts[0]; $prices_arr[$parts[0]][$parts[1]]['category-sanitized'] = $sanitized; $prices_arr[$parts[0]][$parts[1]]['size'] = $parts[1]; $prices_arr[$parts[0]][$parts[1]]['special'] = $parts[2]; $prices_arr[$parts[0]][$parts[1]]['originalprice'] = $parts[3]; $prices_arr[$parts[0]][$parts[1]]['saleprice'] = $parts[4]; $prices_arr[$parts[0]][$parts[1]]['status'] = $parts[5]; if($parts[5] == 'hidden') continue; //build category array at the same time $catagory_arr[$sanitized] = $parts[0]; } ?>
//print each catagory pane $count = 0; foreach($catagory_arr as $sanitized_category => $unsanitized_category) { ?>
" id="= $sanitized_category ?>" role="tabpanel"> //print each row within each category $row_print_arr = $prices_arr[$unsanitized_category]; foreach($row_print_arr as $row) { if($row['status'] == 'hidden') //skip row if it is hidden continue; ?> } ?>
SIZE SPECIAL OFFER RATE

= $row['size'] ?>

= $row['special'] ?>

if($row['originalprice'] != '') { ?>= $row['originalprice'] ?>
} ?>= $row['saleprice'] ?>

Reserve
$count++; } ?>
Storage protection/insurance is required for stored property!

Self Storage in Glendale, Arizona

&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp We are a locally owned company serving our customers with their self-storage needs. We offer a wide range of unit sizes from 4 x 4’s to 12 x 25’s as well as Climate Controlled, Drive up, and Non-Climate Controlled units. We also offer state of the art security with 22 video surveillance cameras throughout the property as well as onsite resident managers.

At Glendale Self Storage and U-Haul we are a ONE STOP shop for all your moving needs to make your moving experience as easy as possible. We sell a variety of boxes from standard sizes to specialty boxes and any additional moving supplies you need.