> "Parse error: parse error, unexpected > T_ENCAPSED_AND_WHITESPACE, expecting > T_STRING or T_VARIABLE or T_NUM_STRING in ..." > > when doing sth like: > $name = "My $row['name']";
You have to wrap array references in curly braces within double quoted strings. Proper form is: $name = "My {$row['name']}"; See: http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing.complex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php