I wan't auto refresh in input field. can you help me for that?
Example: Here is my php code
<?php
$result = mysql_query("SELECT * FROM datapy ORDER BY No DESC LIMIT 0,1");
$showlast = mysql_fetch_array($result);
?>
<input type="text" value="<?php echo $showlast['nilai_1']; ?>" id="last">
What should I do if I want to make the input field into an auto refresh to get last data from database. note: i will refresh on input field only