echo("<td width=30%><input type=text name=varcoach size=25 value='$vcnam\n'></td>"); Why are you adding a \n or a new line feed. Input type text does not support multiple lines.. ???