Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我的 img 标签来显示 img
<img src="https://graph.facebook.com/"+<?php echo $user_id; ?>+"/picture?type = small"> ..[x]
user_id 是我在代码顶部收到的 php 变量:
<?php $user_id = $_POST['userid']; ?>
[x] 中的错误是什么?它不显示图像
好的,我知道了。
<img src="https://graph.facebook.com/<?php echo $user_id; ?>/picture?type = small">
作品