Error on

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
PastorHank
Forum Contributor
Posts: 117
Joined: Sat Jun 03, 2006 7:58 am
Location: Texas Hill Country

Error on

Post 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
User avatar
twinedev
Forum Regular
Posts: 984
Joined: Tue Sep 28, 2010 11:41 am
Location: Columbus, Ohio

Re: Error on

Post 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
PastorHank
Forum Contributor
Posts: 117
Joined: Sat Jun 03, 2006 7:58 am
Location: Texas Hill Country

Re: Error on

Post 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
Post Reply