Hi,
I am trying to read some hex values from a style-sheet, however am having a little bit of a problem reading the values from a file into a string due to them being different with no unique identifier.
Is there an easy way to read the file and put get the value "#e51400" for a variable called $red and "#0076a3" for a variable called $blue?
I looked into str_replace but couldn't see a simple way to do this.
Thanks,
MoFish
@red: #e51400; @blue: #0076a3;