Solved

'<' cannot display this operator

Posted on 2014-12-19
5
63 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
  • 3
  • 2
5 Comments
 
LVL 39

Expert Comment

by:gdemaria
Comment Utility
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 500 total points
Comment Utility
<cfoutput query="FiveYearPlan">
   #replace(FiveYearPlan.MajorUpgradeCost,"<","&lt;")#
</cfoutput>
0
 

Author Comment

by:lulu50
Comment Utility
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
Comment Utility
Thank youuuuuuuuuuuuuuuuuu

Happy Holidayyyyyyyyyyyyyyyyyyy
0
 
LVL 39

Expert Comment

by:gdemaria
Comment Utility
You're very welcome and Happy Holidays!!
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

PROBLEM: How to add your own buttons to the bottom toolbar with paging info ( result count ). While creating a cfgrid, I ran into an issue where I wanted to embed my own custom buttons where the default ones ( insert / delete / etc… ) are for aes…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now