This is for v7 ??? Anyway : code errors due to the use of single ' and/or " (apostrophs) You start a 'piece/block"by $text= " >> so everything below this (till close) NO double " (apostrph.) rest unsure think best to make it a simple page (on root ala test php) and ttry calling in i frame inside menu ??