I was approached today to hide a table column when a certain item type was being displayed .For our purposes lets call them guitars and drums
As part of the table, I was looping through an array to print out a list of links.to different types of guitars. For Drums, I didn't need that column
The variable we'll call, $instrument_type
First lets just look at the loop