Can someone tell me what I am doing wrong, I have the following code:
/ Load all the required css files /
for( $i = count( $this->cssFiles ); $i > 0; $i-- )
{
echo "\n <link rel= 'stylesheet' src= ";
echo $this->cssFiles[$i-1];
echo " href= $this->_cssFiles[$i-1] type= 'text/css'> \n";
}
However I am sure this can be done using one echo on one line, but does not seem to work doing:
echo "\n <link rel= 'stylesheet' src= $this->cssFiles[$i-1] href= $this->cssFiles[$i-1] type= 'text/css'> \n";
}
does not work either it outputs Array[1-1]
Any Suggestions?