I've given up on this unexpected T variable error
I have absolutely no idea what is wrong with this code. Maybe a fresh pair of eyes could tell me what the heck is going wrong here?! I just want to make a simple RSS generator for my dang page.

	<?php

	include_once 'db.php';

	header("Content-Type: application/rss+xml; charset=ISO-8859-1");
	 
	$rss = '<?xml version="1.0" encoding="ISO-8859-1"?>';
	$rss = '<rss version="2.0">';
	$rss .= '<channel>';
	$rss .= '<title>Example</title>';
	$rss .= '<link>http://www.example.com/</link>';
	$rss .= '<description>RSS feed for example</description>';
	$rss .= '<language>en-us</language>';
	$rss .= '<copyright>Copyright (C) 2012 example</copyright>';
				
	$get_query = "SELECT * FROM example ORDER BY id DESC LIMIT 10";
		
	$do_query = mysql_query($get_query) or die ("Site is offline, please check back later! (4)");
		
	while($row = mysql_fetch_array($do_query))
	{
	    $rss .= '<item>';
	    $rss .= '<title>' . $row['title'] . '</title>';
	    $rss .= '<description>' . $row['body'] . '</description>';
	    $rss .= '<link>http://www.example.com/view/?id=' . $row['id'] . '</link>';
	    $rss .= '<pubDate>' . $row['date'] . '</pubDate>';
	    $rss .= '</item>';
	}
	 
	$rss .= '</channel>';
	$rss .= '</rss>';
	 
	echo $rss;

	?>
I've given up on this unexpected T variable error
===

I have absolutely no idea what is wrong with this code. Maybe a fresh pair of eyes could tell me what the heck is going wrong here?! I just want to make a simple RSS generator for my dang page.

	<?php

	include_once 'db.php';

	header("Content-Type: application/rss+xml; charset=ISO-8859-1");
	 
	$rss = '<?xml version="1.0" encoding="ISO-8859-1"?>';
	$rss = '<rss version="2.0">';
	$rss .= '<channel>';
	$rss .= '<title>Example</title>';
	$rss .= '<link>http://www.example.com/</link>';
	$rss .= '<description>RSS feed for example</description>';
	$rss .= '<language>en-us</language>';
	$rss .= '<copyright>Copyright (C) 2012 example</copyright>';
				
	$get_query = "SELECT * FROM example ORDER BY id DESC LIMIT 10";
		
	$do_query = mysql_query($get_query) or die ("Site is offline, please check back later! (4)");
		
	while($row = mysql_fetch_array($do_query))
	{
	    $rss .= '<item>';
	    $rss .= '<title>' . $row['title'] . '</title>';
	    $rss .= '<description>' . $row['body'] . '</description>';
	    $rss .= '<link>http://www.example.com/view/?id=' . $row['id'] . '</link>';
	    $rss .= '<pubDate>' . $row['date'] . '</pubDate>';
	    $rss .= '</item>';
	}
	 
	$rss .= '</channel>';
	$rss .= '</rss>';
	 
	echo $rss;

	?>