the [email] thing was added by the forums
What weedpacket said. ok, but that line of code is still not a valid PHP expression. As things stand right now, PHP is trying to evaluate the following as PHP code:
alex@tycooneden.com
That's why your getting the error. I think what you are really looking for is something like the following:
$to = "Alex <" . 'alex@tycooneden.com' . ">";
If you could clear up exactly what it is you are trying to accomplish and why this is being pulled from a database, that would be helpful.