<? $file = get_my_file(); // тут получаешь нужное значение ?> <a href="https://maps.google.com/maps?q=http://trademosh.com/<?=$file?>" target="_blank">MAP</a>