1
Code:
<input type="date" id="data" name="data" value="<?php echo $dataPost = $_GET['data']; ?>" required>
The question is this: Can you make a condition if
before the value
within the input
?
For example:
if($x == $a){
//mostra o value dentro do input igual acima.
}else{
//mostra o value vazio.
}
Could you do it ? Or in some other way ?
And if it’s a fake and I want it for another
GET
?– KevinF
@Kevin. F in this case at
''
you can put whatever you need.– Sergio