我做的,我想在點擊按鈕移至前一頁PHP頁面,我想和網址,並在字段如何附上發佈數據顯示前一頁的數據附加後的數據,這裏是我的代碼:如何使用url附加發布的數據? ?
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery("#previous").click(function() {
window.location.href = "<? echo $_SERVER['HTTP_REFERER']; ?>";
});
});
</script>
<?
$data=($_POST);
?>
<input id="previous" type="button" class="button edit" name="submit_skip" value="Edit Message" />
<input type="submit" class="button email" name="submit_email" value="Send Message" />