I am trying to get data (data) from the following URL.
<a href="http://www.example.dk/page/?data=1" rel="nofollow">http://www.example.dk/page/?data=1</a>
I use the following code for getting the data to the wordpress page:
But I don't get the data to the page. Isn't it the normal way to get data from URL with php?
<a href="http://www.example.dk/page/?data=1" rel="nofollow">http://www.example.dk/page/?data=1</a>
I use the following code for getting the data to the wordpress page:
Code:
<?php $_GET['data']; ?>
But I don't get the data to the page. Isn't it the normal way to get data from URL with php?