drhzc64482 2014-11-30 19:42
浏览 10
已采纳

使用php字符串代码设置文本页面

It will be placed within a template that returns dynamic channels

Php linking thats dynamic > http://domain.com/text.php?content=yourtext

doing so returns the text. "yourtext"

what i mean by this is "yourtext" will be added into embed codes thus being dynamic.

i am basically reconstructing a streaming sites layout.

EXAMPLE:

<iframe src="http://domain.tv/embed/video/<?php echo $yourtext ?>" frameborder="0" framespacing="0" width="100%" height="100%" /></iframe>

sorry for my poor english i will adjust it if it doesn't meet your english.

  • 写回答

1条回答 默认 最新

  • du_1993 2014-11-30 19:52
    关注

    If you are trying to get yourtext from http://domain.com/text.php?content=yourtext

    <iframe src="http://domain.tv/embed/video/<?= htmlspecialchars($_GET['content']) ?>" frameborder="0" framespacing="0" width="100%" height="100%" /></iframe>
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 这个公式写进SIMULINK中的function模块的代码中应该是什么样的
  • ¥15 javaweb登陆的网页为什么不能正确连接查询数据库
  • ¥15 数学建模数学建模需要
  • ¥15 已知许多点位,想通过高斯分布来随机选择固定数量的点位怎么改
  • ¥20 nao机器人语音识别问题
  • ¥15 怎么生成确定数目的泊松点过程
  • ¥15 layui数据表格多次重载的数据覆盖问题
  • ¥15 python点云生成mesh精度不够怎么办
  • ¥15 QT C++ 鼠标键盘通信
  • ¥15 改进Yolov8时添加的注意力模块在task.py里检测不到