*

Recent

Author Topic: Enabled code  (Read 4353 times)

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Enabled code
« on: September 21, 2011, 08:50:57 PM »
Ok i have an error i cant seem to fix here is the code

Code: [Select]
echo ' <object width=\''.$r['width'].'\' height=\''.$r['height'].'\' align=\'center\'>
<param name=\'movie\' value=\''.$domain.'/'.$gamesfolder.'/'.$r['file'].'\'>
<embed src=\''.$domain.'/'.$gamesfolder.'/'.$r['file'].'\' width=\''.$r['width'].'\' height=\''.$r['height'].'\'></embed>
</object>';

and here is the output

Quote
<object width="500" height="500">
<param name="movie" value="http://monster-arcades.com/gamesPacXon.swf">
<embed src="http://monster-arcades.com/gamesPacXon.swf" width="500" height="500">
</embed>
</object>      

Notice something missing? Well if not there is a slash missing between games and PaXon.swf even though you can clearly see in the code that there should be a slash in there.... and this is why i really dont understand what is going on here.

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Re: Enabled code
« Reply #1 on: September 21, 2011, 08:58:45 PM »
Never mind i found out what was wrong that code i saw wasnt the code that displayed it in the enabled code box on the website the actual code was farther down and that code was obvious where the error was. As far as i know i never edited that code so assuming that i never edited it that means it is like that on the main template.

Adam LaCombe

  • Sr. Member
  • ****
  • Posts: 433
  • Force: +17/-0
    • My Blog
Re: Enabled code
« Reply #2 on: September 22, 2011, 11:03:18 AM »
Okay thanks for pointing that out. I will take a look and reupload the zip files asap