Im listing files in a directory on a web page with links to the files.
I'm trying to change the link color to something other than my typical.
Below is the php link...
<?php echo("<a href= '$dirname/$file'>$file </a> ");echo "<br />"; ?>
I want to change the class.
Below is one of many attempts...
<?php $class22 = 'class="otherA"'; echo "<a href=\"" . "$dirname$file>$file" . "\"" .$class22. "\">";
I can't seem to get it right.