<?php echo $error["no_password_match"]; ?> </div> <?php } ?> </div> <div class="p"> <?php echo Form::input(array("name" => "confirm_password", "placeholder" => "Confirm password", "type" => "password")); ?> </div> <div class="p"> <img id="captchaImage" src="<?php echo $rainCaptcha->getImage(); ?> " /> <input type="text" name="captcha"> <button type="button" onclick="document.getElementById('captchaImage').src= '<?php echo $rainCaptcha->getImage(); ?> &morerandom=' + Math.floor(Math.random() * 10000);">New captcha</button> <?php if (isset($error["captcha"])) { ?> <div class="error"> <?php