Jump to content

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in


soltek

Recommended Posts

Hey there,

 

I was having that error message (Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in) in this line:

 echo "<td>" . $row['name'] . "</td>";

 

And fixed it with:

 echo "<td>" . $row[".name."] . "</td>";

 

 

It seems to work fine, but this is the right way?

Thank you in advance.

 

 

EDIT: Nop, it didnt do the job xD

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.