?
Solved

'<' cannot display this operator

Posted on 2014-12-19
5
Medium Priority
?
72 Views
Last Modified: 2014-12-19
Hi,

I have a table called Major update that has the following fields

AppID       AppName                                                                     MajorUpgradeCost
9	name1                                                                 	<$100K
10	name2                                                                           $100K to $500K
13	name3                                                                 	$500K to $1M
14	name4                                                                 	$500K to $1M
18	name5                                                                            $1M to $5M
20	name6                                                                 	>$5M
22	name7                                                                 	<$100K
23	name8                                                                 	NULL
24	name9                                                                             NULL

Open in new window



I am trying to just loop thru the query and display the MajorUpgradeCost

the problem that I am having is that AppID 9 is not displaying '<$100K'  because of this operator
<

It display the operater > fine but not this < and I am not sure why!


<cfoutput query="FiveYearPlan"> 

#FiveYearPlan.MajorUpgradeCost#

</cfoutput>

Open in new window

0
Comment
Question by:lulu50
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 39

Expert Comment

by:gdemaria
ID: 40509083
It doesn't display because the browser thinks it's an HTML tag.   You can replace it with this symbol...  &lt;

You could also wrap it in <pre> </pre> tags although that makes the font monospaced as well (such as courier)
0
 
LVL 39

Accepted Solution

by:
gdemaria earned 2000 total points
ID: 40509090
<cfoutput query="FiveYearPlan">
   #replace(FiveYearPlan.MajorUpgradeCost,"<","&lt;")#
</cfoutput>
0
 

Author Comment

by:lulu50
ID: 40509116
Oh!!!!!!!

YOU ARE awesome!!!!!

It's working now!!!!  

I tryed so many things but I couldn't get it to work.

Thank you for all your help and HAPPY HOLIDAY :-)
0
 

Author Closing Comment

by:lulu50
ID: 40509118
Thank youuuuuuuuuuuuuuuuuu

Happy Holidayyyyyyyyyyyyyyyyyyy
0
 
LVL 39

Expert Comment

by:gdemaria
ID: 40509134
You're very welcome and Happy Holidays!!
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question