I have 2 web pages pg1.php & pg2.php and I am providing a link from pg1.php to pg2.php. I am able to navigate but I can't pass parameters.
When the user clicks on the link, I need to pass certain parameters also from pg1.php to pg2.php.
I wrote the code like this in pg1.php:
echo "<a href='http://somewhere/pg2.php?row1=$row1'>CLICK ME!</a>";
Now, when I click the link, I could see the url with the parameter getting displayed.. but my page is not getting navigated to pg2.php.
I am not sure if I am passing the parametrs through URL properly. Could anyone please help me with this?