You could use the strip_tags() function to remove some code. I did that on page were i had to remove the html head, but you must be careful, since you cannot tell it to remove onlye one of fex 2 tables, it remove all tables (therefore called strip)! Hope it helpes