jasonlee
01-22-2005, 08:11 PM
I'm somehow doing something wrong can someone help?
$referredby = Trim($_POST[referredby]);
$commentsquestion = Trim($_POST[commentsquestion]);
$Body = "";
$Body .= "referredby: ";
$Body .= "$referredby";
$Body .= "\n";
$Body .= "commentsquestion: ";
$Body .= "$commentsquestion";
$Body .= "\n";
I get the text "referredby:" and "commentsquestion" but the variable isnt getting put in the body variable.
$referredby = Trim($_POST[referredby]);
$commentsquestion = Trim($_POST[commentsquestion]);
$Body = "";
$Body .= "referredby: ";
$Body .= "$referredby";
$Body .= "\n";
$Body .= "commentsquestion: ";
$Body .= "$commentsquestion";
$Body .= "\n";
I get the text "referredby:" and "commentsquestion" but the variable isnt getting put in the body variable.