I have a app that searches a database and retrieves 3 fields Name, Email Address, Year group.
I put these into a table and would like to have a mailto: link that has all the email addresses retrieved in it but seperated by commas..
something like this for example.
<a href=mailto:" .$row['Email']. ">" .$row['Email']. "</a>
and the link would actually look like this : mailto:john@yahoo.com,bob@gmail.com,kyle@microsoft.com
any ideas?
I think you want the
join()function. For example: