title: Make entire row clickable - PHP approach
body: <p>Hi programmers and web designers,
  I am working on a small system for the company I work with and everything is almost done (thanks for this site and the help from other sites...) except for this function where I want the entire row of the table my php codes generated, for now I was only able to make my second column clickable. I already tried googling but I can't find a workable solution. FYI, I am a noob and just starting to learn php.... thanks in advance...</p>
  
  <pre><code>while($info = mysql_fetch_array( $data ))  
  { echo "&lt;tr&gt; class='tablerows' align=center onclick=\"window.location=http://active_jobs.php?job_ticket='".$info['job_ticket']."'\"&gt;
  &lt;td&gt;".$info['date']."&lt;/td&gt;; 
  &lt;td&gt;&lt;a&gt; href=somefile.php?job_ticket=".$info['job_ticket']."&gt;".$info['job_ticket']."&lt;/td&gt;
  &lt;td&gt;".$info['invoice_no']."&lt;/td&gt; &lt;td&gt;".$info['customer']."&lt;/td&gt;
  &lt;td&gt;".$info['job_type']."&lt;/td&gt; &lt;td&gt;".$info['complete_date']."&lt;/td&gt;
  &lt;td&gt;".$info['complete_time']."&lt;/td&gt;
  &lt;td&gt;".$info['artist_operator_prepress']."&lt;/td&gt;
  &lt;td&gt;".$info['status_prepress']."&lt;/td&gt;
  &lt;td&gt;".$info['status_press']."&lt;/td&gt;
  &lt;td&gt;".$info['status_postpress']."&lt;/td&gt; &lt;td
  width='300'&gt;".$info['remarks']."&lt;/td&gt;"; echo "&lt;/tr&gt;"; 
  } echo
  "&lt;/table&gt;";
  </code></pre>
  
  <p>Thanks in advance for your help.
  Marco</p>