1
我需要通过这个ID我如何传递这个id变量?
<img id="id_<?php echo $post_id;?>">
在“这里”
req.open('GET','post.php?slug=??here??',true);
的每个ID都是不同的,所以我需要针对每一个岗位。现在我怎么能传递ID的“ID”
我需要通过这个ID我如何传递这个id变量?
<img id="id_<?php echo $post_id;?>">
在“这里”
req.open('GET','post.php?slug=??here??',true);
的每个ID都是不同的,所以我需要针对每一个岗位。现在我怎么能传递ID的“ID”
很含糊,但你在想这样的事情吗?
<a href='post.php?slug=<?=$post_id?>'>
<img id="id_<?php echo $post_id;?>">
</a>
没有我不需要它在href .........我需要像federkun一样 –
' Federkun
那么这完全取决于你如何想传递 –