[Gambas-user] server pages again... possible bug

Joshua Higgins joshiggins at ...1601...
Sun May 3 11:53:13 CEST 2009


I'm trying to dynamically change an image. Here is a simple page:


#!/usr/bin/env gbw2
<%
DIM sEnv AS String
%>

<html>

<%
sEnv = "hello.jpg"
%>

<img src="<%= sEnv%>">

</html>


This looks okay to me, but on running, <$= sEnv%> inside the <img> tag is
not evaluated, presumably because it is inside the img tag. Is this expected
behaviour?

-- 
joshua higgins
>>>>>>------



More information about the User mailing list