hello, i am displaying mysql database results with php. one of my rows displays an email address. I would like to display these email addresses as a link AND have each link have the same subject line.
Sure is, are you looking to use the MAILTO: attribute in the href (to use the clients email program?) or are you going to pass this to a custom email script that you are going to write?
The below is to use the client email program (ie Outlook)
bastien, or anyone else...can u tell me what i am doing wrong with this code, i tried to insert your code, but i am getting a parse error. here is the code, i am displaying the rows in alternating colors... can u insert your portion of coding for the email into this the correct way, i can't get it. thanks agian!!!!
echo "
\n";
echo "
Last Name
First Name
Email Address
Year Graduated
\n";
for($i = 0; $i < $numofrows; $i++) {
$row = mysql_fetch_array($result); //get a row from our result set
if($i % 2) { //this means if there is a remainder
echo "
\n";
} else { //if there isn't a remainder we will do the else
echo "