Hello Can somebody help me i have to use sql commands like this: <datasources> <datasource:DB name="ds-pages"> <sql>SELECT * from achievement where t3yearid = </sql> </datasource:DB> </datasources> but now in the where command i need a variable like $the_year how can i do this? Thanks for your help regards tom schneider