|
Posted by Sandman on 10/09/06 11:12
In article <1160385826.277060.94330@c28g2000cwb.googlegroups.com>,
"elia" <joseph@pcl.ch> wrote:
> Thanks, but so it's my problem! If I write ...
>
> <? if ($quantite1 > 0) {
> echo('
> <tr>
> <td article1 </td>
> <td $quantite1</td>
> <td 20 €</td>
> <td $montant1 €</td>
> </tr>');
> }
> else{
> echo("");
> }
> ?>
>
> ..."$quantite1" and "$montant1" is not take as variable php.
> Until "4" ou "7" or "10" it's write "$quantite1"
> Pascal
Read my reply again. If you use
echo('$foobar');
it till print a dollar sign and then foobar. If you use
echo("$foobar");
it will print the content of the variable $foobar. Not the difference.
--
Sandman[.net]
Navigation:
[Reply to this message]
|