# Multiplying

**URL:** https://forum.kirupa.com/t/multiplying/165169
**Category:** flash
**Created:** [October 8, 2005, 1:22pm UTC](https://forum.kirupa.com/t/multiplying/165169 "2005-10-08T13:22:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dreamerp](https://avatars.discourse-cdn.com/v4/letter/d/fbc32d/32.png) [@dreamerp](https://forum.kirupa.com/u/dreamerp)
#### Post date: [October 8, 2005, 1:22pm UTC](https://forum.kirupa.com/t/multiplying/165169/1 "2005-10-08T13:22:51Z")

</div>

Hey,

I am using PayPal’s IPN and when I receive a payment it creates an account, e-mails them, etc. The thing is, if they purchase in a larger quantity then it won’t send all of the e-mails. So my question is-

How can I multiply the whole process by a quantity. I.E-

$qty = 4

if ($item\_name = “Kirupa Account”){

do stuff $qty times

}

I hope that is clear and all help will be appreciated.

Thanks,  
Peter
