<?php
$num1 = rand(1, 9);
$num2 = rand(1, 9);
$sum = $num1 + $num2;
$_SESSION['sum'] = $sum;
?><Label for="question">What is <?php echo $num1 . ' + ' . $num2 . '?';
if (isset($errors['answer'])) {?> <span class="error"><?php echo $errors['answer'];?></span><?php }?></label><br>
<input type="text" name="answer" id="answer"></input>
<script src="//www.powr.io/powr.js?external-type=html"></script> <div class="powr-form-builder" id="15ae320e_1519283097"></div>
The following users have thanked you: Fahmy
Time to create page: 0.058 seconds