Its easy use php mailer (http://phpmailer.codeworxtech.com/) and go through a while loop and fetch teh email you want to send and pass in to teh phpmailer function and send given link got more example how to do it. regards Priyantha - www.pgdesigning.com On Fri, May 23, 2008 at 12:29 PM, ashrafzia <ashrafzia@xxxxxxxxx> wrote: > Hi > > I have an invoice system. How can i send dynamic emails to different > persons. By dynamic i mean that values coming from the database are > differet for each user because every user invoice is different from > the other. > Any example please? > > Thanks in advance. > > > [Non-text portions of this message have been removed]