Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 73
  • Last Modified:

'<' cannot display this operator

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
lulu50
Asked:
lulu50
  • 3
  • 2
1 Solution
 
gdemariaCommented:
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
 
gdemariaCommented:
<cfoutput query="FiveYearPlan">
   #replace(FiveYearPlan.MajorUpgradeCost,"<","&lt;")#
</cfoutput>
0
 
lulu50Author Commented:
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
 
lulu50Author Commented:
Thank youuuuuuuuuuuuuuuuuu

Happy Holidayyyyyyyyyyyyyyyyyyy
0
 
gdemariaCommented:
You're very welcome and Happy Holidays!!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now