Hello,
I’m trying to use a php script for fixing png transparency with IE from
here
I made a new snippet and called it
replacePngTags and pasted the code provided.
my problem is that I need to call the code twice on the page, at the top and bottom, and don’t know what is the right way to accomplish that?
can someone please explain/tip me on how to go about it?
Thanks in advance!
edit:
ie,
1.Save the function into a file named "replacePngTags.php"
At the top of the files that you want to use this function with, paste the following code:
[b]<?php ob_start(); ?>[/b]
2.Now, at the bottom of this file, paste the following lines of code:
[b]<?php
include_once 'replacePngTags.php';
echo replacePngTags(ob_get_clean());
?>[/b]