Back

arrToEmailBody

Copy Below Code View As A Text File Show Text Only Show API Edit Code
                            

function arrToEmailBody($arr) { $html= '<table>'; foreach ($arr as $key => $value) { $html.= '<tr><td>'.$key.'</td><td>' . $value . '</td></tr>'; } $html .= '<tr><td>IP</td><td>' . $_SERVER['REMOTE_ADDR'] . '</td></tr>'; $html.= '</table>'; return email_wrap_body($html); }