Hey,
Can't tell if this was ever fixed. So will post a quick solution. When echoing/setting a variable to text inside double quotes you can easily add in variables by simply using {$myvar} directly in the text.
The errors are most likely due to a missing character escape. A solution to that would be make use of a more advanced method of creating a string. Rather than double quotes use:
Code:
ecgo <<<EOF
text you 'want' "here"
EOF;
The advantage of EOF tags is you don't have to worry about escaping any quotation marks :)
Finally the problem with your mysql is that your using the syntax to add a new row. Not to update one :)
Update syntax should be as follows
Code:
UPDATE table_name SET column1=value, column2=value2 WHERE some_column=some_value
assuming you are updating an existing row. If you trying to create a new row though, your syntax is correct, but you should be using the command "INSERT INTO" rather than UPDATE.
Hope that helps.
CS-Dude