I need to create a url where part of it can be called from a variable. I want a user to be directed to their mini league table based on which league they have subscribed to.
ie user signs in and i have the following variable
$minileague=league_name 1
I then want to create a url that would take them to their league table page.
want the end result to be
http://sitename.com/game/table_league_name1.php
I thought "http://sitename.com/game/table_$minileague.php" might work but it's not.
Can anyone show me where I have gone wrong.
Thanks
Jon