Hi,
the point is, I do not want to do it manually.
Currently, I'm doing it this way and it works fine:
$message = $rs->fields[0];
$message = str_replace("\$HISNAME",$HISNAME,$message);
$message = str_replace("\$HISPWD",$HISPWD,$message);
$message = str_replace("\$HISUSERID",$HISUSERID,$message);
I was hoping there is a short cut that auto read those variables that were previously gotten from the FORM.