j1mm1nycr1cket Posted August 31, 2006 Share Posted August 31, 2006 Hello All,I am sending a value from an [color=green]<a href>[/color] to a php page containing a Flash movie. The link simply says [color=green]<a href="mypage.php?label=what">[/color]In mypage.php, all I want to do is read the value from the querystring and append it to the tag as follows:[color=green]<param name="movie" value="mymovie.swf?label=<?php print urlencode($label); ?>">[/color]This works perfectly under php 4.4.2 where I tested it, but on the hosting server (where they are running php 4.3.8 ), nothing gets printed into the page at all.I've run a 'hello world' so I know my php is getting executed, but this is baffling.Is there something I can do to make it work?Perhaps there's something not 'switched on' in the hosting environment that I need..?Thanks in advanceJimmy Link to comment https://forums.phpfreaks.com/topic/19254-print-urlencode-not-working-any-fixesalternatives/ Share on other sites More sharing options...
ToonMariner Posted August 31, 2006 Share Posted August 31, 2006 =<?php echo $_GET['label']; ?>"> Link to comment https://forums.phpfreaks.com/topic/19254-print-urlencode-not-working-any-fixesalternatives/#findComment-83411 Share on other sites More sharing options...
j1mm1nycr1cket Posted August 31, 2006 Author Share Posted August 31, 2006 Goodness me, that was quick.It works a treat. Thank you very much. :) Link to comment https://forums.phpfreaks.com/topic/19254-print-urlencode-not-working-any-fixesalternatives/#findComment-83417 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.