echo '<input type="text" name="casilla" value="'. $variable .'">';o<input type="text" name="casilla" value="<? echo $variable; ?>">