Parse error: syntax error, unexpected '<' HELP!

Discussion in 'HTML & Website Design' started by Budster2005, Feb 10, 2010.

  1. #1
    Hi all

    I get this error on my site when im trying to view it.

    Parse error: syntax error, unexpected '<' in /home/a8672017/public_html/stuff.html on line 84

    heres a bit of the code where the php is:

    <form method="get" name="klsfg"><br />
    <?php <script language="JavaScript" src="http://www.freebeat.info/audio/audio-player.js"></script><object type="application/x-shockwave-flash" data="http://www.freebeat.info/audio/player.swf" id="audioplayer1" height="24" width="290"><param name="audio" value="http://www.freebeat.info/audio/player.swf"><param name="FlashVars" value="playerID=audioplayer1&amp;soundFile=http://www.freebeat.info/audio/FreeBeat1.mp3"><param name="quality" value="high"><param name="menu" value="false"><param name="wmode" value="#000000"></object>?></form>

    im using KompoZer to design the site and input the PHP code view the drop down option where it says Insert PHP and didnt just type it in.

    I dont get whats wrong please help!
     
    Budster2005, Feb 10, 2010 IP
  2. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    remove the <?php and ?> tags, you are not using any php in there at all
     
    krsix, Feb 10, 2010 IP
  3. Budster2005

    Budster2005 Peon

    Messages:
    237
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks, everything sorted now
     
    Last edited: Feb 10, 2010
    Budster2005, Feb 10, 2010 IP