The PHP script script gives an error the following error

[27-Dec-2011 19:48:20] PHP Parse error:  syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /Users/jake/Sites/projects/webservices/projects/uploader/index.php on line 227

echo"<option value="$rows['id']" $selected]]>$rows['name']</option>";


Please make sure the double quotes and quotes are matching properly. If there are double quotes in the String they can be escaped using the operator as "