Posted by Jared Williams on 05/10/05 16:21
>
> I guess it is the missing semicolon.
>
>
> And you can write:
>
> echo "<tr><td><? echo $product_type ?></td></tr>"
>
> as simply
>
> echo "<tr><td>$product_type</td></tr>"
>
I prefer
echo '<tr><td>', $product_type, '</td></tr>';
No string concatenation, or variable replacement required.
Jared
Navigation:
[Reply to this message]
|