making table cells clickable
<p>i currently have a table of about 30 rows and i would like to make td clickable in each case:</p>

<pre><code>&lt;tr height="100px" align="center"&gt;        
        &lt;?php do { ?&gt;
        &lt;td style="background-color: &lt;?php echo $row_dd1['colour']; ?&gt;;"&gt;   
        &lt;form action="pay.php?id=&lt;?php echo $row_dd1['dNo']; ?&gt;&amp;user=&lt;?php echo $username; ?&gt;" method="post"&gt;
        &lt;input type="hidden" id="&lt;?php echo $row_dd1['dNo']; ?&gt;"&gt;&lt;input type="hidden" value="&lt;?php echo $username; ?&gt;"&gt;
          &lt;button type="submit" class="link" id="t&lt;?php echo $row_dd1['dNo']; ?&gt;"&gt;&lt;span&gt;&lt;?php echo $row_dd1['dNo']; ?&gt;&lt;/span&gt;&lt;/button&gt;&lt;/form&gt;
        &lt;/td&gt;
        &lt;?php } while ($row_dd1 = mysql_fetch_assoc($dd1)); ?&gt;
    &lt;/tr&gt;
</code></pre>

<p>how do you make the table cell clickable? i would like it to have the same link as the form action that i have used which is:</p>

<pre><code>&lt;form action="pay.php?id=&lt;?php echo $row_dd1['dNo']; ?&gt;&amp;user=&lt;?php echo $username; ?&gt;" method="post"&gt;
</code></pre>

<p>any help would be appreciated. much thanks and God bless!</p>
