I am learning php right now.
I have a anchor that shows the php value I want to pass. But the problem is, I can't get the said value.
Here is my anchor code in html:
<a href="#?pName='.$prodName.'">Add</a>
Here is the link that displays the value:
http://localhost/pphcompany/index.php#?pName=family1
Here is my php code to get the value of pName:
$prodName = $_GET['pName'];
But it's not working and returns an error that says:
Undefined pName
Please anyone could help me get that value?