Hi Val,
Thanks, but there are still missing pieces, if you are looking for old code, just look at the code posted up here (about 6-7 messages back), because even though DW says he updated the code, it's old code up there, unless he's talking about updating it somewhere else???
I see where to add the htmail in the query, but I'm still missing where to add this line:
if($htmail=='1') $htsel = ' selected'; else $htsel = '';
else $tosel = ' selected'; else $tosel = '';
Where does that fit in, in the old code above?
I see now, he updated the code at the TOP of this thread, but not in the middle, DW why don't you delete the code in the middle, it's incorrect!