[PHP] R: [PHP] Shopping with variables

2001-05-16 Thread Gabriele Biondo
> 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: > >($dvd ? "DVD: $dvd ":''). > ($video ? "Video: $video ":''). > ($cd ? "CD's: $cd ":''). > "

[PHP] R: [PHP] Shopping with variables

2001-05-16 Thread Gabriele Biondo
> ?php print(" You have asked to purchase $dvd $video $cd 's - > Thank you") >? > > This prints out, "You have bought 16 - Thank you" for example, see the > problem? How do I get it to print the variable name not just it's value? Try with replacing your print with the following one: print("