Passing user id in the url : <p>I am trying to pass the userId in the url. This is what I have, but it giving me error.</p>

<pre><code>&lt;?php echo "&lt;li&gt;&lt;a href='edit.php?userId= .$row[id].'&gt;Edit&lt;/a&gt;&lt;/li&gt;"?&gt;
</code></pre>
