How to set one variable for each link on a views un-formatted list
I accidentally left the quotes in when entering the variable path so it didn't work. I was entering:

&lt;?php print l('&lt;span class="link-spanner"&gt; a&lt;/span&gt;', "$view-&gt;style_plugin-&gt;row_tokens[$id]['[path]']", array ('html' =&gt; TRUE)); ?&gt;


And the I should've been putting in:

&lt;?php print l('&lt;span class="link-spanner"&gt; a&lt;/span&gt;', $view-&gt;style_plugin-&gt;row_tokens[$id]['[path]'], array ('html' =&gt; TRUE)); ?&gt;


When you're calling a value in an array, it won't work if you put the path in quotes.