Hi, Hope you can help me:
How can i do the following in PHP: When a variable is for example: $a = 7 I must do the following 6 * X and 1 * Y, but when $a = 4 it must only do 4 * X. So every when the value is odd i must do # * X and # * Y.. Some examples or hints are very welcome! Sory that this is maybe a little bit vague... Questions? e-mail! Regards, Frank