Echo inside an element attribute?

前端 未结 1 1367
清酒与你
清酒与你 2021-01-26 13:32

I was just wondering if it is possible to put a php echo inside an iframe? something like this:


By the time that the server breaks it all down, the browser will only ever see


That's why you can use HTML and PHP on the same page, because the server parses the PHP before it's sent to the browser, so you end up just sending Text/HTML to the end location. Echo is simply the means of telling PHP, "Instead of just doing this, show the user this result.", and it builds it around the HTML you already have present.

0 讨论(0)
提交回复
热议问题