nogdog your excellent help is once again needed. I have successfully implemented a protoype GUI however javascript is changing some values. I m not sure how to write back the modified css - find the element in the array to change.
how can i find a element in the array.
sorry update:
really or i need to know is one part of the array construction. I understand it all apart from the last part:
<?php
if(count($bits) == 2)
{
$file[$selector][trim($bits[0])] = trim($bits[1]);
}
?>
im not sure what this is doing, i looked up trim and it gets rid of white space, presumably the string before : and after : but i dont understand what it does. I echoed out the whole variable array $file and it printed all the values in the style sheet but what is count($bits) ==2 and the rest. Are you making sure that there is a value before and after the ":" colon?