Hi guys,
I'm testing out the MySQL extension and I'm just wondering if there's a way to use a variable in the query section. For example, I want to use {{page.title}} in the where clause of the query, how do I do this?
I tried something like {{ mysql.value("select name from users where username = '{{ page.title }}'") }} but I get an empty resultset. I'm not even sure if this is the correct syntax.
Thanks in advance.


Reply With Quote
.
