Hang on a minute...
the PHP manual is a language reference all about the PHP itself - the syntax and semantics of it all and all that.
But there is far more to programming than that. No language reference is a guide to programming - and they aren't meant to be.
To be fair, vincent's response was a little 'concise' - but so was the question. While Vincent and many others (including myself) are more than happy to provide any help we can with others' projects/problems it is unreasonable to expect help on any simple question that would easily be solved just by a little thought. How many posts are there with questions that the asker could easily have worked out if they'd just checked the return value of the function they are calling? - far too many!!
And to top it all off - this question isn't even really about PHP! Stealing frames is HTML, pure and simple!! And does he even tell us what errors he's getting? Nope! Are they PHP errors, JavaScript errors, misrendered pages? Who knows!
Many of the people who ask questions here have done the research - or at least attempted to solve their problems themselves first. They are the ones who get the help.
Those who don't (and it is obvious...), don't.
Look, I understand where you're coming from - but really, the question askers are just as bad if not worse...