Echoing out variable in a table cell doesn't work

When I echo out my variable in the php file it works fine but when I put the variable in a table cell it doesn’t echo out.

please post your code so we can see what you are trying to do

<?php

echo "<form method='post' name='yourForm'>";

echo "<tr><td></td>";

echo "<td><img src=" . $thumbnail .   "/></td>";

echo "<td>" . $cart_product_quantity . "</td>";

echo "<td> " . $product . "(s)&nbsp;&nbsp;</td>";

echo "<td> \$" . $price . "</td><td> \$" . $number .  "</td></tr>";

echo "</form>";

echo "</table>";
Remove    Your Product   Quantity Description Price per item Sub Total

So, what isn’t displaying properly? And do you have error reporting turned on?

<?php

echo "<form method='post' name='yourForm'>";
echo "<tr><td></td>";
echo "<td><img src='$thumbnail'/></td>";
echo "<td>$cart_product_quantity</td>";
echo "<td>$product(s)</td>";
echo "<td> \$" . number_format($price,2) . "</td><td> \$" . number_format($number,2) .  "</td></tr>";
echo "</form>";
echo "</table>";
Sponsor our Newsletter | Privacy Policy | Terms of Service