2

这是我的 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] 中的错误是什么?它不显示图像

4

1 回答 1

1

好的,我知道了。

<img src="https://graph.facebook.com/<?php echo $user_id; ?>/picture?type = small">

作品

于 2013-11-07T07:29:54.247 回答