Question

I was reading about SSI here. The first code example under the section Control Directives looks like this:

<!--#if expr="${Sec_Nav}" -->
<!--#include virtual="" -->
<!--#endif -->

What does the "$" sign mean? EOF, a function, get...???

Thanks!

Was it helpful?

Solution

It is just a way to inject a variable value inside a string

<!--#if expr="${Sec_Nav}" -->

this is comparing expr to the value of Sec_Nav

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top