Ok, I have tried the following, but get the same results as before:
<input type=\"text" name=\"test" value="" maxlength="25"></tr></td>";
<input type=\"text"\ name=\"hairextprice"\ value="" maxlength="25"></tr></td>";
Sorry have been away from PHP for a while....