Validation Probs.

Discussion in 'HTML & Website Design' started by Nerz, Jul 26, 2006.

  1. #1
    Ive been tidying up the code in my arcade site, and the validator is stuck on this one

    else { echo "<a href=./index.php?action=category&amp;id=$id&amp;page=1&amp;order2=game_name&amp;sby=ASC>Next Page --></a>"; }
    }
    Code (markup):
    The error i get is:

    It highlights the question mark i have bolded.

    Ive found solutions to various other versions that arent using "echo" but straight html. Its got something to do with place " " in the correct location, but how do I do it?

    Any help appreciated.

    Nerz.
     
    Nerz, Jul 26, 2006 IP
  2. Gordaen

    Gordaen Peon

    Messages:
    277
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try using single quotes like:

    else { echo "<a href='./index.php?action=category&amp;id=$id&amp;page=1&amp;order2=game_name&amp;sby=ASC'>Next Page --></a>"; }
    }
    Code (markup):
     
    Gordaen, Jul 26, 2006 IP
  3. Nerz

    Nerz Well-Known Member

    Messages:
    588
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Cheers that did the trick :)
     
    Nerz, Jul 26, 2006 IP