Probablemente ya existe sistemas como estes y mejores pero no pude encontrar ninguno entonces decidí crear uno yo.
Son sólo 15 lineas de código:
Código
<form method="post"> <textarea name="text_code" style="width: 100%; height: 150px; outline: none; padding: 10px; resize: none;" placeholder="Escribe el código" required></textarea> <button type="submit" name="submit_code" style="margin-top: 5px; float: right; font-size: 15px; font-weight: bold; height: 30px; width: 90px;">Enviar</button> </form> <?php { ?> <span style="display: block; color: #242424;">Abiertas: <span style="font-weight: bold; color: #242424;"><?php echo $key_open; ?></span> Cerradas: <span style="font-weight: bold; color: #242424;"><?php echo $key_close; ?></span></span> <?php } ?>