我想要做鏈接#與id來div的ID在一個頁面
<a href="#?id=<?php echo $id; ?>" class="team-detail" data-reveal-id="single-news"></a>
但ID在不工作:
<div id="single-news" class="reveal-modal single-news small" data-reveal>
<?php
$member = mysql_query("SELECT*FROM team WHERE id = '$_GET[id]'");
$m = mysql_fetch_array($member);
?>
<div class="twelve columns first-column">
<p class="single-news-content"><?php echo $m[quote]; ?></p>
</div>
需要'$ _GET [ '身份證']'的ID作爲字符串 – madalinivascu
BTW $ M可以是一個數組行 – madalinivascu