alienmojo Posted January 8, 2007 Share Posted January 8, 2007 echo 'Address: <input type="text"name="Address"size="30" value="$row['address']" ><br><br>';its having a problem with the value part not sure whyParse error: parse error, unexpected T_STRING, expecting ',' or ';' in C:\Documents and Settings\Marquis Taliaferro\Desktop\web page\editentries.php on line 60 Link to comment https://forums.phpfreaks.com/topic/33298-solved-row/ Share on other sites More sharing options...
papaface Posted January 8, 2007 Share Posted January 8, 2007 try:[code]echo 'Address: <input type="text"name="Address"size="30" value="'.$row['address'].'" >';[/code] Link to comment https://forums.phpfreaks.com/topic/33298-solved-row/#findComment-155556 Share on other sites More sharing options...
alienmojo Posted January 8, 2007 Author Share Posted January 8, 2007 ok that worked now i need help with thisecho 'Description:<br> <TEXTAREA name="description" rows=10 cols=40>$row['description']</TEXTAREA><br><br>';Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in C:\Documents and Settings\Marquis Taliaferro\Desktop\web page\editentries.php on line 134 Link to comment https://forums.phpfreaks.com/topic/33298-solved-row/#findComment-155571 Share on other sites More sharing options...
PC Nerd Posted January 8, 2007 Share Posted January 8, 2007 if your actrually pressing return between thpse lines, becauase of those types of quotes, it reads to the end of the line ans says, there wasnt a ;. anyway, use the same as above:echo "............ value = '"."$row['address']".'"; Link to comment https://forums.phpfreaks.com/topic/33298-solved-row/#findComment-155577 Share on other sites More sharing options...
alienmojo Posted January 8, 2007 Author Share Posted January 8, 2007 im not sure what you mean when i comes to syntax consider me mentaly retarded Link to comment https://forums.phpfreaks.com/topic/33298-solved-row/#findComment-155581 Share on other sites More sharing options...
papaface Posted January 8, 2007 Share Posted January 8, 2007 should be:[code]echo 'Description: <TEXTAREA name="description" rows=10 cols=40>'.$row['description'].'</TEXTAREA>';[/code] Link to comment https://forums.phpfreaks.com/topic/33298-solved-row/#findComment-155587 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.