Twig create link with variable I would like to create a link to another page in my plugin and send a specific ID with it but I don't really know how to do it in craft and twig.. I spend too much time on that little task and searched in the internet but could not really find something.

In my template I have 

//loop through all database entries
{% for val in entries %}
    .....
    &lt;a href="{{ url('pluginName/editEntry/' + val.id) }}"&gt;Edit&lt;/a&gt;
    .....
{% endfor %}


But it does not really work. How can I pass a specific id in my url and how can I receive this parameter in my php backend?
I didn't find something like craft()-&gt;request-&gt;getGetVar()and my $_GET is always empty. Of course I could just take the URL and use subtring and explode to get the correct value but I'm not sure if this is the intended way
Use the ~ symbol to concat strings.

//loop through all database entries
{% for val in entries %}
    .....
    &lt;a href="{{ url('pluginName/editEntry/' ~ val.id) }}"&gt;Edit&lt;/a&gt;
    .....
{% endfor %}