R: [PHP] Shopping with variables
| From: | Gabriele Biondo | Date: | Sun, 17 Jun 2001 09:49:13 +0000 |
| Subject: | R: [PHP] Shopping with variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53005@lists.php.net to get a copy of this message | ||
> Thanks Gabriele :) Whilst waiting for your e-mail I figured out another
> way...Thought I would show you it just in case you ever find the
> need to use
> this alternative:
>
> <?php print(" You have asked to purchase ".
> ($dvd ? "DVD: $dvd ":'').
> ($video ? "Video: $video ":'').
> ($cd ? "CD's: $cd ":'').
> " - Thank you") ?>
>
> Best Regards
>
> Taz
This should work even better.
Ciao
Gabriele