visa1234_12
asked on
How can I make the key word search results in bold
How can I make the key word search results in bold. Below are my codes..
<cfquery name="Getbusiness" datasource="#DSNName#">
select * from TB_BusinessDev
where (NameOfBusiness LIKE '%#Search#%') OR (TypeOfBusiness LIKE '%#Search#%') OR (Mission LIKE '%#Search#%')
order by BusinessID
</cfquery>
I would like to make the search keyword to be bold or in a different color. Please Help.
<cfquery name="Getbusiness" datasource="#DSNName#">
select * from TB_BusinessDev
where (NameOfBusiness LIKE '%#Search#%') OR (TypeOfBusiness LIKE '%#Search#%') OR (Mission LIKE '%#Search#%')
order by BusinessID
</cfquery>
I would like to make the search keyword to be bold or in a different color. Please Help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
any feedback on this?
#replace(NameOfBusiness, Search, '<b>'&Search&'</b>', 'ALL')#
Let me know
Mause