php

php – How to make a form with a date field? (DD/MM/YYYY)

Question: I'm new to Kohana and need to make a form with a date field. My form is this: <?=form::open(‘controllerInscricao/index’)?> <?php echo form::select(‘TURMA_codturma’, $TURMA_codturma); ?> <br><br> <div>Matricula: <?=form::input(‘ALUNO_MATRICULA’ );?></div> <div>Data: </div> <?php echo ‘<div’.HTML::attributes($attrs).’>’.$content.'</div>’; ?> <?=form::submit(‘btn_submit’, ‘Salvar’) ?> <?=form::close()?> How to make a txt field in DD/MM/YYYY format? Answer: I …

php – How to make a form with a date field? (DD/MM/YYYY) Read More »

Scroll to Top