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 ';' 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>"; ?> 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>"; 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. 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 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. 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 Link to comment https://forums.phpfreaks.com/topic/46884-parser-error-please-help/#findComment-228571 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.