I m currently using this HTML DOM PARSER using php : http://simplehtmldom.sourceforge.net/
I m confused on how to remove and replace the selected attribute href="style.css"
, I want to replace the link with "index/style.css"
, should I insert only the
index/
or replace the whole attribute from the whole html code?