📄 bayes_wizard_step2.php
字号:
<p>STEP 2 of 5: Enter disease and symptom labels.</p><?php$num_diseases = $_POST["num_diseases"];$num_symptoms = $_POST["num_symptoms"];$disease_labels = $_POST["disease_labels"];$symptom_labels = $_POST["symptom_labels"];$priors = $_POST["priors"];$likelihoods = $_POST["likelihoods"];?><table cellpadding='3' cellspacing='0' border='0'> <form method='post' action='<?php echo $PHP_SELF; ?>'> <input type='hidden' name='next_step' value='3'> <input type='hidden' name='num_diseases' value='<?php echo $num_diseases; ?>'> <input type='hidden' name='num_symptoms' value='<?php echo $num_symptoms; ?>'> <?php for ($h=0; $h < $num_diseases; $h++) { echo "<input type='hidden' name='priors[]' value='$priors[$h]'>\n"; } for ($h=0; $h < $num_diseases; $h++) { for ($e=0; $e < $num_symptoms; $e++) { $value = $likelihoods[$h][$e]; echo "<input type='hidden' name='likelihoods[$h][$e]' value='$value'>\n"; } } for ($h=0; $h < $num_diseases; $h++) { $nice_num = $h + 1; ?> <tr> <td align='right'>Disease label <?php echo $nice_num ?></td> <td><input type='text' name='disease_labels[]' value='<?php echo $disease_labels[$h] ?>' size='30'></td> </tr> <?php } for ($e=0; $e < $num_symptoms; $e++) { $nice_num = $e + 1; ?> <tr> <td align='right'>Symptom label <?php echo $nice_num ?></td> <td><input type='text' name='symptom_labels[]' value='<?php echo $symptom_labels[$e] ?>' size='30'></td> </tr> <?php } ?> <tr> <td colspan='2'> <br> <input type='submit' value='Step 3 >>'> </td> </tr> </form> </table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -