[Gambas-user] serverpages: problem with quoting

Adam Ant adamnt42 at ...626...
Thu Aug 9 05:25:17 CEST 2012


On Thu, Aug 9, 2012 at 12:38 PM, Adam Ant <adamnt42 at ...626...> wrote:
> Oh Noes!
> I have just hit my first problem with the serverpages scripting.
>
>       <img src="file://<%= GetResourceLocn(\"logo.png\") %>"><br>
>
> I can't figure out how to escape the quotes around the string
> parameter for the GetResourceLocn(sName As String) function call.
> That function, btw, just returns a path to a cache directory in /tmp
> and it works fine.
>
> tia
> Bruce

Forget it!

<img src="file://<%= GetResourceLocn("logo.png") %>"><br>

I guess I'm just not bi-lingual :-(

B




More information about the User mailing list