I have a problem,
I use a for loop to send the email of content below.
However, in each email, a letter in the link (the second one which is marked) disappear randomly.
What is the problem? Why only the letter in second link disappear? And disappear randomly ??
please help me
function emails($st,$st_first,$st_second,$random, $pass, $student_list, $floor_preference, $s_mine, $s_name_first, $s_name_second)
{
$e_content = "Dear $st_first $st_second ($st),
$s_name_first, $s_name_second ($s_mine) has represented your group sumbitting Neighbour, Room and Floor Preference for you.
The password for your group representative: $pass (visible by the representative only)
Hall will proceed your application according to the following information, please check carefully:
Floor Preference:
$floor_preference
Neighbour and Room Preference:
$student_list
**************************** IMPORTANT, please REPLY ****************************
*** If you AGREE with it, CLICK the following to CONFIRM:
http://cs7157.comp.hkbu.edu.hk:19261/zhou_res/insert/roommate_con.php?random=$random&studentid=$st&result=Confirm
*** If you DISAGREE with it, CLICK the following to REJECT (the whole group preference will NOT be proceeded):
http://cs7157.comp.hkbu.edu.hk:19261/zhou_res/insert/roommate_con.php?random=$random&studentid=$st&result=Reject
///////the above is the problem link//////////
( *** please DISCUSS with the representative to re-submit an new form!!)
Let us work hand-in-hand to breed a fruitful hall life, see you in September
Regards,
Hall
\"Breakthrough, ZXsians!!\"
";
mail(.......);
}