$_GET not working
-
Hey,
I am currently using WordPress 3.2 Network and having an issue. I think I read that global variables no longer works. So just looking for confirmation that this is true and if so, how I can get around this.
In my theme, I am doing something as simple as this and it is not working. This is being done in a custom template.
<?php $YouTube_ID = $_GET['id']; ?> ...code for YouTube API <object width="853" height="505"><param name="movie" value="https://www.youtube.com/v/<?php echo $YouTube_ID; ?>?fs=1&hl=en_GB&rel=0&color1=0xe1600f&color2=0xfebd01"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/<?php echo $YouTube_ID; ?>?fs=1&hl=en_GB&rel=0&color1=0xe1600f&color2=0xfebd01" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="853" height="505"></embed></object>
Thanks for any help you can give.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘$_GET not working’ is closed to new replies.