$a = "ABCD";
?>
<link rel='stylesheet' type='text/css' href='others.php' />
<style>
.page-title {
text-indent: -9999px;
line-height: 0;
}
.page-title:after {
content: <?php echo $a; ?>;
}
</style>
<?php
- It's a
.phpfile and I need to pass "ABCD" to thecontentof the CSS as above. - I don't want to keep an extra
.phpor.cssfile.