Data Validation
I have the next PHP code:
PHP Code:
<select name="day" id="day" tabindex="3">
<?php
for($n=1; $n <=31; $n++)
{
?>
<option value="<? echo $n ?>"><? echo $n ?></option>
<?
}
?>
</select>
<select name="month" id="month" tabindex="3">
<?php
for($n=1; $n <=12; $n++)
{
?>
<option value="<? echo $n ?>"><? echo $n ?></option>
<?
}
?>
</select>
<select name="year" id="year" tabindex="3">
<?php for($i=0;$i<3;$i++) { ?>
<option><?php echo(date('Y') - $i); ?></option>
<?php } ?>
</select>
I wan´t to validate the data input. How can I do it??
Subject
Written By
Posted
Data Validation
May 02, 2006 03:52AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.