Quantcast
Channel: Adobe Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 290743

Validation Output: 1 Error

$
0
0

Hi

 

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?


Viewing all articles
Browse latest Browse all 290743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>