Advertisement
Bedhoel

Untitled

Feb 16th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. <?php
  2.  
  3. $data['rdy'] = '0';
  4. echo '<input type="radio" value="1" name="status"  '.($data['rdy']=="1" ? "checked" : "" ).' > Terpakai
  5. <input type="radio" value="0" name="status"  '.($data['rdy']=="0" ? "checked" : "" ).' > Tidak Terpakai';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement