Skip to content
Advertisement

Get data passed as queryparams from Angular in Php?

If i am sending data in query params from angular application i need to get those data in php from url. I am not familiar to php. Can anyone help me out yr?

Advertisement

Answer

Pass a link in url for testing let say localhost/test/test.php?link=www.google.com

<?php
echo $_Get['link'];
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement