我在标签之间有内容<a>
,我想在单击它时将其内容传递到下一页上的变量中。
<a class="stuff" href="process.php"> Content One </a>
<a class="stuff" href="process.php"> Content Two </a>
<a class="stuff" href="process.php"> Content Three </a>
因此,如果单击中间链接,则传递给 process.php 中变量的值将是内容二。谁能帮我解决这个问题?我对php有点陌生。