Forum Moderators: coopster
$submission_form ="
<p style=\"font-size:20px; padding: 15px;\">
<u>Please select the type of analysis you wish to perform</u>
</p>
<form name=\"analysis_form\" method=\"post\">
<div>
<a id=\"myHeader1-2\" href=\"javascript:showonlyonev2(\"newboxes1-2\");\" >
<input type=radio name=\"criterion\" value=\"single_genotype\">
Single-study analysis using genotypes
</a>
</div>
$submission_form = <<<EOD
<p style="font-size:20px; padding: 15px;"><u>Please select the type of analysis you wish to perform</u></p>
<div>
<form enctype="multipart/form-data" name="analysis_form" method="post" action="single_analysis_gen.php">
<a id="myHeader1-2" href="javascript:showonlyonev2('newboxes1-2');" >
<input type=radio name="criterion" value="single_genotype">
Single-study analysis using genotypes
</a>
</div>
</form>
EOD;
href="javascript:showonlyonev2('newboxes1-2');" part...
Because it should have single quotes, but this I can't do it inside the PHP string
$variable = "<a id=\"myHeader1-2\" href=\"javascript:showonlyonev2('newboxes1-2');\">"; $variable = '<a id="myHeader1-2" href="javascript:showonlyonev2(\'newboxes1-2\');">';