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
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.