I am trying to send a variable from a Javascript to a php script but what gets sent is just the first string and the rest is discarded.Dont know what i would be doing wrong. Here is my code:
<script type="text/javascript">
document.write(<li><a href=../../../../projects/sungrant/view/HistoricalCategory2.php?category=Historical Category 2>Historical Category 2 </a></li>)
</script>
Sunucu tarafında yalnızca baskı Tarihsel benim $ _GET ['kategori']? I eksik ne olabilir bilmiyorum veya PHP için Javascript Eşanjöre verilerin daha iyi bir yolu var ise, ben takdir edecektir.