开发者

Can we integrate iFrame in PHP file?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜