开发者

Can we integrate iFrame in PHP file?

开发者 https://www.devze.com 2023-02-04 11:25 出处:网络
Can we integrate iframes in PHP files ? If so, can anyone p开发者_如何学Golease provide an example.

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

精彩评论

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