Jump to content

mr.noname

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by mr.noname

  1. in the code example

    the $recipients and $bcc argument MUST BE an array

     

    so if the $recipients and $bcc is not an array

    you will get some warning message

     

    well, if this is the codeigniter ( i think it is codeigniter )

    the insert line is corrected

     

    *** make sure ***

    in your code example

    the recipient  will always replace by bcc id before save if you pass $bcc into a function

  2. let's check this for example

     

    if the variable assign to this value

     

    0 ----> number 0
    "0"   ----> string 0
    "" ----> empty string
    "  "  ----> string with whitespace
    0.0 ----> double value
    array()  ----> empty array
    NULL   ----> null value
    FALSE -----> boolean false
    

     

    if use

    empty() ----> will return TRUE

    is_null() ---> return TRUE on NULL value

    isset() --->  all above are TRUE except FALSE and NULL value

     

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.