franknu Posted April 13, 2007 Share Posted April 13, 2007 what is the best way to do this echo"<input type=\"text\" name=\"Business_Address\" value=\"{$row['Business_Address']}\">"; echo"</td> </tr></table> </td></tr><tr> <td><table><tr> <td> </td> <td> </td> <td></td><td> </td><td> Category</td><td>"; that is where the line has the problem... echo "<textarea rows="5" cols="65" name="Categories">";echo"{$row['Categories']}"; echo"</textarea>"; here is my parser error Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' Quote Link to comment https://forums.phpfreaks.com/topic/46884-parser-error-please-help/ Share on other sites More sharing options...
MadTechie Posted April 13, 2007 Share Posted April 13, 2007 please use code tags <?php echo "<textarea rows='5' cols='65' name='Categories'>"; echo"{$row['Categories']}"; echo"</textarea>"; ?> Quote Link to comment https://forums.phpfreaks.com/topic/46884-parser-error-please-help/#findComment-228563 Share on other sites More sharing options...
boo_lolly Posted April 13, 2007 Share Posted April 13, 2007 this: echo "<textarea rows="5" cols="65" name="Categories">";echo"{$row['Categories']}"; echo"</textarea>"; needs to be like this: echo "<textarea rows=\"5\" cols=\"65\" name=\"Categories\">{$row['Categories']}</textarea>"; Quote Link to comment https://forums.phpfreaks.com/topic/46884-parser-error-please-help/#findComment-228564 Share on other sites More sharing options...
StormTheGates Posted April 13, 2007 Share Posted April 13, 2007 Either remove the "s that are in the text area definitions or put \s before them. Quote Link to comment https://forums.phpfreaks.com/topic/46884-parser-error-please-help/#findComment-228565 Share on other sites More sharing options...
MadTechie Posted April 13, 2007 Share Posted April 13, 2007 Either remove the "s that are in the text area definitions or put \s before them. What!! EDIT: Oh i get ya Quote Link to comment https://forums.phpfreaks.com/topic/46884-parser-error-please-help/#findComment-228567 Share on other sites More sharing options...
StormTheGates Posted April 13, 2007 Share Posted April 13, 2007 The things that define the text area, meaning rows, cols, name ect. Quote Link to comment https://forums.phpfreaks.com/topic/46884-parser-error-please-help/#findComment-228569 Share on other sites More sharing options...
MadTechie Posted April 13, 2007 Share Posted April 13, 2007 Na this part confused me.. or put \s before them. So \s" Huh but i know what you mean Quote Link to comment https://forums.phpfreaks.com/topic/46884-parser-error-please-help/#findComment-228571 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.