I want to pass some PHP variables using the URL.
I tried the following code:
link.php
just put
$a='Link1'; $b='Link2';
in your pass.php and you will get your answer and do a double quotation in your link.php:
echo 'Link 1';