25 Replies Latest reply on Nov 16, 2012 5:09 AM by MurraySummers

    Validation Output: 1 Error

    Reynold Dreamweaver CS6 Level 1



      I have runned my html code against the W3C Code validator service  on HTML and XHTML. I got this one niggerling error. The explaination against the error is blinding.


      What is character "<" is the first character of a delimiter but occured as data mean, what does it mean against the souce code


      <form action="<?php echo $editFormAction;?> id="form1" name="form1" method ...


      It is suggesting several cases this might be remedied.


      You tried to include the "<" character om you page: you should escape it as "&lt"


      You used an unescaped ampersand "&" this may be valid in some contexts but it is recommended to use "&amp", which is always safe


      Another possibilty is that you forgot to close quotes in  previous flag.


      I must say if the PHP souce document has no syntax error and to me it looks legitimate code what is the machine engine validator trying to say. Please advise. Thanks. I am myth by this.


      The HTML is showing identical to the PHP. so if the PHP is valid code why should it throw up invalid error on coding?