Page 1 of 1

Error on

Posted: Thu Sep 08, 2011 2:23 pm
by PastorHank
Not sure if I should label this all as code or not ---I apologize if this isn't formatted correctly

I'm working on an older program and they make extensive use of tables (and I'm not allowed yet to get rid of them. I am using eclipse as the editor.

This line is in between two <td>s
<input type="hidden" name="ID" value="<?php echo $tmp['tmicAppID']; ?>">

while it doesn't cause anything to crash (although there are so many other issues with the code, I'm not actually certain of that statement :) )eclipse gives me this with a red X
Multiple annotations found at this line:
- Invalid character used in text string (<?php echo $tmp
['tmicAppID']; ?>"> ).
- Start tag (<input>) not closed.
- Invalid text string (<?php echo $tmp['tmicAppID']; ?>"> ).
- Invalid location of tag (input).

Could someone please point me to what is wrong with this line? I get the same error message in some other pages also.

TIA

Re: Error on

Posted: Thu Sep 08, 2011 2:57 pm
by twinedev
Sounds like Eclipse is choking on mixing PHP inside HTML tags. Been known to happen before....

The line looks fine to me.

-Greg

Re: Error on

Posted: Thu Sep 08, 2011 3:22 pm
by PastorHank
Thanks that's what I thought, but I've read and reread code before and overlooked simple stuff and the code I working with is old, old, old and not commented at all....
thanks again