I've got a web forum that has three buttons: next, forward, start. They serve as simple navigation through records of a mySQL database. I've also created a text box with php to display which record they are looking at:
<?
function textbox($the_name,$the_value)
{
$_output = "<input type='text' name='".$the_name."' value='".$the_value."' maxlength='3' size='4'>\n";
return $_output;
}
//Generate dynamic textbox
echo textbox('alpha',$number]);
?>
This works great for display the record but I thought, what if I could have the user enter in a record also to this text box. I've got html forms that do just that using POST method, but it would be nice if they could do it right at that textbox. Any ideas?