Results 1 to 2 of 2

Thread: Undifined var with $echo

  1. #1
    Join Date
    Feb 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Undifined var with $echo

    Hello i get this error:

    Notice: Undefined variable: mail_body

    In this line of code:
    echo $mail_body;

    How exactly does one fix this with no reference of mail body

  2. #2
    Join Date
    Feb 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    if (isset($mail_body)) {echo $mail_body;}

Similar Threads

  1. Replies: 2
    Last Post: 03-17-2013, 04:27 PM
  2. echo nothing?
    By begeiste in forum PHP
    Replies: 3
    Last Post: 11-22-2011, 08:02 PM
  3. echo css
    By ggalan in forum PHP
    Replies: 7
    Last Post: 06-29-2010, 01:13 AM
  4. echo inside an echo?
    By crobinson42 in forum PHP
    Replies: 5
    Last Post: 05-20-2010, 02:32 AM
  5. echo...
    By pavmoxo in forum PHP
    Replies: 11
    Last Post: 04-28-2006, 04:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •