GameGal Posted June 15, 2010 Share Posted June 15, 2010 I do not know if this is the right area to be posting this but I will give it a go. I have a script I am working on and I do not know how to write the php to make the script do what I want it to do. I have included an image because it is easier to show you then to try and explain it to you. Any and all help will be much appreciated as I am a dummy when it comes to this. Thank you Terri [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/204826-help/ Share on other sites More sharing options...
GameGal Posted June 15, 2010 Author Share Posted June 15, 2010 I have narrowed it down to this piece of code ... echo '<embed src="'.$swf_dir.$game.'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" value="transparent" width="468px" height="400px"></embed>' How can I change this to load a certain game instead of a random game? Thank you Terri Quote Link to comment https://forums.phpfreaks.com/topic/204826-help/#findComment-1072317 Share on other sites More sharing options...
thewooleymammoth Posted June 16, 2010 Share Posted June 16, 2010 you sould post the code around that line as well if you want help. However i think this could be a little better if you used javascript. http://www.w3schools.com/js Quote Link to comment https://forums.phpfreaks.com/topic/204826-help/#findComment-1073022 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.