I have <form>
in which I return information I consulted in bd, until everything is working perfectly, however I would like to change the color of value
according to the result. If value
is "PENDING" it should be red and value
is "OK" to be green.
Below is the code snippet.
<form>
<label id="label">
Status
</label>
<input id="input" type="text" class="form-control" name="status"
value="<?php echo " $status " ?>"
placeholder="" style="text-transform:uppercase" disabled="disabled">
</form>
Thank you.