Can we integrate iframes in PHP files ?
If so, can anyone p开发者_如何学Golease provide an example.
Thanks in advance.
Merci, Serenity.
You are misunderstanding what PHP does. PHP is used to generate HTML (among other things). Seeing as you can have an iFrame in a HTML file, I guess the answer to your question is "yes".
You are probably better off describing what you want to do to get more detailed advice.
Surely, you would just use
print '<iframe></iframe>';
Is that what you mean?
It's important to note that you don't need to use this method. You can write HTML directly in the source, you don't need to print it using PHP.
精彩评论