how to include a template with parameters in EJS?

@Naeem Shaikh solution works. Though include also gives you more intuitive way of including a partial template and also passing context variables to that as found in documention section of ejs. <ul> <% users.forEach(function(user){ %> <%- include(‘user/show’, {user: user}); %> <% }); %> </ul>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)