Question
Search results
Yellow.
How do you return the string that was found in bold when you query several different columns of a table?
Example
<cfquery name="find_yellow" datasource="colors">
SELECT id
FROM colors
WHERE color_name = "yellow"
OR related_color = "yellow"
</cfquery>
<cfoutput query="find_yellow">
Display the value that was found in bold
</cfoutput>
How do you return the string that was found in bold when you query several different columns of a table?
Example
<cfquery name="find_yellow" datasource="colors">
SELECT id
FROM colors
WHERE color_name = "yellow"
OR related_color = "yellow"
</cfquery>
<cfoutput query="find_yellow">
Display the value that was found in bold
</cfoutput>
