Hi, I'm somewhat new to php so here's my problem.
In the following code, I get this error "Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/moneymen/public_html/test/index.php on line 15" but I don't understand what is wrong. I know this usually happens when someone is missing a quotation mark or switching between a single and double quote. Here's most of the code.
$sql = "SELECT *
FROM growable_buildings
ORDER BY name ASC";
$sql_result = mysql_query($sql, $connection) or die(mysql_error());
echo "<table border='1'>";
echo "<tr><th>Name</th><th>Type</th><th>Tileset</th><th>Stage</th><th>Capacity</th><th>Capacity at -$</th><th>Capacity at -$$</th><th>Bulldoze Cost</th><th>Power Consumed</th><th>Water Consumed</th></tr>";
while ($row = mysql_fetch_array($sql_result))
{
echo "<tr><td>$row['name']</td><td>$row['type']</td><td>$row['stage']</td><td>$row['capacity_normal']</td><td>$row['capacity_$']</td><td>$row['capacity_$$']</td><td>$row['bulldoze_cost']</td><td>$row['power_consumed']</td><td>$row['water_consumed']</td><td>$row['pollution_garbage']</td></tr>";
}