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