title: javascript in php onclick
body: <pre><code>$testquery = "INSERT INTO education(employee_id, education_type_id, institution_id, course_name, period_from, period_till, education_document_id) VALUES($row[0], 2001134, 2001142, $coursename, $teststartdateresult, $teststartdateresult, 2001149)";
  </code></pre>
  
  <p>How to correct write in <code>onclick: if(confirm("send result?"))</code> -> oci_execute else stay on page</p>
  
  <pre><code>$link = '&lt;a onclick = "" href = "link='.$row[0].'" target = "_blank"&gt;Send result&lt;/a&gt;';
  </code></pre>