Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I'm getting the error "Invalid expression format. "

Status
Not open for further replies.

dunskii

Programmer
Sep 14, 2001
107
AU
Hi there,

I geeting the error:

Invalid expression format. The usual cause is an error in the expression structure.

This is the code that is causing the problem:

<cfoutput query=&quot;getComImages&quot;><td align=&quot;center&quot; height=&quot;150&quot; bgcolor=&quot;#FFFFFF&quot; align=&quot;center&quot; valign=&quot;middle&quot; background=&quot;images/thumb_bg/#com_thumb_bg#.gif&quot;></cfoutput>

The page was working fine until i added bgcolor=&quot;#FFFFFF&quot;. I did this to try and stop the body color interfering with the background image.

cheers big ears,

d
 
the # at the start of the #FFFFFF is the cause of your problem as this is used by coldfusion for output purposes. you can either remove the # all together or put another one in to cancel the other one out so that your code will look like this ##FFFFFF that should sort out your problem !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top