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 Quote Link to comment 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] Quote Link to comment 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 Quote Link to comment 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']".'"; Quote Link to comment 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 Quote Link to comment 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] Quote Link to comment 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.