Problem with If statement in html page
Hi there!
I'm trying to make a HTML page and I need to apply some conditions but I don't know where is my problem.
This is my initial code:
- <%{
bill = Presupuestos[Code1 == input.code];
entorno = Entornos[ID == bill.Entorno];
%>
PRESUPUESTO <%=bill.Code1%>
<br>
<%{
if ( entorno.Entorno_Nombre == "TEXT")
{
%>
<img width='100' src='https://......'/>
<%
}
}%>
<%=entorno.Entorno_Nombre%>
<br>
<%=bill.Fecha%>
<%
}%>
And I have this Error:
Error at line number:7
Improper Statement
Error might be due to missing ';' at end of the line or incomplete expression
So I tried put the ';' in different lines but did not work.
Anyone can help me?
Thank you
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.