|
Hi there,
Anyone who can answer this question, thank you! Anyone who can't - don't worry, I can't either and I consider myself to be a pretty good programmer! :-P
I have an ad script. It outputs html for the ads that is not xhtml compliant - it doesn't close the img tags. I do not have access to where the html for the ads is generated - therefore, I need to find a way to close the img tags in the php script that the ads class is called. Does anyone know of a way that I can use preg_replace to find the img tag and add a "/>" to the end of it instead of just ">"?
Any help is greatly appreciated!
Thanks
Josh
|