title: How to insert PHP inside Javascript inside HTML inside PHP?
body: <p>I have the following script who list some sql values in a table</p>
  
  <pre><code>while( $row = sqlsrv_fetch_array( $stmt, SQLSRV_FETCH_NUMERIC))  {
  
              $idOfUrl = $row['2'];
  
              echo("&lt;tr onclick='window.location.href = \"
  
  
  // how can i insert here a  php value ? --&gt; $idOfUrl
  
                  \"';&gt;");
              echo("&lt;td&gt;");
              echo $row['1'];
              echo("&lt;/td&gt;");
              echo ("&lt;/tr&gt;"); 
              echo("&lt;/a&gt;");
              }
  </code></pre>
  
  <p>I want to make the entire row  clickable to a page with an ID whos from the SQL table. </p>
  
  <p>Thank you in advance !</p>