11 Replies Latest reply: Mar 22, 2013 5:41 AM by Ness_quick RSS

    Problem with message email/PHP

    Ness_quick Community Member

      Why are these two lines merging together in the email message?

       

      PHP -

       

      $email_body .= "Burial:" . isset($CAT_Custom_76928)?"No":"Yes"."\n";

      $email_body .= "Cemetery fees: £$CAT_Custom_76931.\n";

       

      Email message appears like this -

       

      NoCemetery fees: £0.

       

      You see the the word 'No' belongs to the php code  -

       

      $email_body .= "Burial:" . isset($CAT_Custom_76928)?"No":"Yes"."\n";

       

      and 'Cemetery fees: £0.' belongs to the php code -

       

      $email_body .= "Cemetery fees: £$CAT_Custom_76931.\n";

       

      but why do they both appear on the same line in the email message, also why doesnt the word "Burial:" appear in the email message?