MySQL Forums
Forum List  »  PHP

MySQL / PHP mailto:
Posted by: Jean-Jacques Bonvin
Date: August 08, 2005 06:58AM


Here is my problem: I'm trying to activate <a href="mailto:xxx"> for each item of a SQL list of 200 people. It looks like that:

$query = "SELECT _name, _firstname, _adress1, _adresse2, _function, _phone, '<a href=mailto:xxx>email</a>', ide FROM core ORDER BY name";

The xxx is the problem. How is it possible to activate the xxx making a link which would trigger each email adress corresponding to each name of the array. I suppose the best way would be to use a variable (PHP or JS).

Thank you for your help.


Options: ReplyQuote

Written By
MySQL / PHP mailto:
August 08, 2005 06:58AM
August 10, 2005 07:39AM
August 10, 2005 07:45AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.