PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
But this needs to be in the page that the iframe loads. If not you will need to use javascript to hide the value of $text on the main page, and then display this on the iFrame page using javascript.