>>120
意図しない動作をさせられても問題ないなら
echo "<input type=\"text\" name=\"$strings\">";
なり好きなようにすればいい

htmlspecialcharsするとかしないとかはその後の段階の話