Please help me with the global variable GET.
On the index.php page there is a list of songs. Next to each song there is a link to download. When I click on the link, I get to the template, which will be the song name, group, picture, etc. which are taken from a variable, and in the line should be added "website.ru / shablon.php? group-song" instead of "website.ru / index.php". Here it is. But "site.ru / shablon.php? Group-song" is not displayed. Only "site.ru / shablon.php?" Is displayed. What am I doing wrong?
//index.php <!DOCTYPE html> <html> <head> <title>Test</title> </head> <body> Группа1 - Песня1 <a href="shablon.php<? echo "?" . $SongID["a1"]; ?>">Скачать</a><br> Группа2 - Песня2 <a href="shablon.php<? echo "?" . $SongID["a2"]; ?>">Скачать</a><br> Группа3 - Песня3 <a href="shablon.php<? echo "?" . $SongID["a3"]; ?>">Скачать</a><br> <?php // Делаю многомерные массивы в которых хранятся песни $SongID["a1"] = "Группа1-Песня1"; $SongID["a2"] = "Группа2-Песня2"; $SongID["a3"] = "Группа3-Песня3"; ?> </body> </html> //shablon.php <!DOCTYPE html> <html> <head> <title>Test</title> </head> <body> Группа1 - Песня1<br> Группа2 - Песня2<br> Группа3 - Песня3<br> </body> </html>