PHP problem

I have written a PHP below in Dreamweaver(because im running on a mac and there is no other way for me to edit PHP)


$link = mysql_connect(“localhost”,“username”,“password”);
mysql_select_db(“mySQL database name”);

$query = ‘SELECT * FROM products’;
$results = mysql_query($query);

echo "<?xml version=“1.0”?>

(I have placed username and password in for obvious reasons)
But I am adding more code after

echo "<?xml version=“1.0”?>
but whenever I do, it converts what ever is after
echo "<?xml version=“1.0”?>
to regular text.( I am using the PHP code from this video
I need help