@@ -8,8 +8,11 @@ |
||
| 8 | 8 | M.toast({html: "<?php echo addslashes($message); ?>", classes: 'red toast-left'}); |
| 9 | 9 | <?php endforeach; ?> |
| 10 | 10 | <?php endforeach; ?> |
| 11 | - <?php else: ?> |
|
| 12 | - M.toast({html: "<?php echo addslashes($error); ?>", classes: 'red toast-left'}); |
|
| 11 | + <?php else { |
|
| 12 | + : ?> |
|
| 13 | + M.toast({html: "<?php echo addslashes($error); |
|
| 14 | +} |
|
| 15 | +?>", classes: 'red toast-left'}); |
|
| 13 | 16 | <?php endif; ?> |
| 14 | 17 | }); |
| 15 | 18 | </script> |