Page 1 of 1

Some var not working

Posted: Wed Jun 08, 2005 10:40 pm
by pinehead18

Code: Select all

$user .= "Yoda";
  $message .= "http://www.kcchristians.com/myprofile/".$user.", ".$user." has poked you
on KCChristians.com!";
        
                mail($email, 'You\'ve bene POKED!', $message, 'FROM: no-reply@kcchristians.com');
When the email sends it does not display $user..

Any ideas?

thank you
Anthony

Posted: Wed Jun 08, 2005 10:43 pm
by Burrito
is $user set above?

if not you can't concat anything to it using "." cause it doesn't exist.

try just using:

Code: Select all

$user = "yoda";