Hi,
I have a script that returns a large array from a query and outputs them to an HTML page.
Most of this data i want visible, but some of it I dont...for example ID fields.
I do however have to return these fields in my queries as they are needed so I cant construct my query to not return them.
What would be really fantastic is if i could hide these specific array keys and values,
In a way that doesnt disrupt my page formatting my showing spaces.
My dream solution would include a way to make these hidden values visible when a key combination was pressed to help with debugging. I appreciate this is going into the realms of Javascript now....
But if anyone could help me with hiding these keys and values using PHP (maybe to append HTML/CSS around the array elements that would be a start
Cheers