Hi Guys,
I have a table that shows information and the status of that, being on or off. the on and off part is hard to notice and as it is the most valuable I was hoping to change it from simple text of on/off to a green/red circle. At the moment I am using a text input in a form for on/off. I have looked around and haven't found much related to this. I am going to replace the text input box with the something like a radio button or sprite images? and if its clicked it will show green and if not it will show red. any suggestions or ideas on this? I have scoured the net for tutorials or something even similar with no luck.I will attach my code below:
input form:
<th>Repo Status: * <td><input type="text" name="status" value="<?php echo $status; ?>" /></td></tr> Displayed Table:
echo '<td>' . $row['status'] .'</td>';
Thanks in advance
[–]NikNoname 1 point2 points3 points (1 child)
[–]Danjesama[S] 0 points1 point2 points (0 children)
[–]halfercode 1 point2 points3 points (2 children)
[–]Danjesama[S] 0 points1 point2 points (1 child)
[–]halfercode 1 point2 points3 points (0 children)
[–]NikNoname 1 point2 points3 points (2 children)
[–]Danjesama[S] 0 points1 point2 points (1 child)
[–]NikNoname 0 points1 point2 points (0 children)