title: onclick of radio button go to url
body: <p>I want to link  the onclick event of the radio button to the new web page.
  The web pages are developed in php and syntax is as follows</p>
  
  <pre><code>echo """&lt;input class="radio" type="radio" name="alg_Type" id="HP" value="HP" onclick="location.href='highP.php'"/&gt;  &lt;label class="choice" for="HP"&gt;High precision&lt;/label&gt;""";
  </code></pre>
  
  <p>and I get the following error
  Parse error: parse error, expecting <code>','' or</code>';''</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks</p>