X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Frequest-functions.php;h=6a17a3c324f01f4f79c86b8e66a2c8eb34427cc4;hp=a3ff1de26a65fb576a319bacad583deedebbcabe;hb=4fbb69b66564237c51d4eaf8c82d0d8cdfcf84a0;hpb=b8892098435a551703b16c4adf9beb139e29f5b1 diff --git a/inc/request-functions.php b/inc/request-functions.php index a3ff1de26a..6a17a3c324 100644 --- a/inc/request-functions.php +++ b/inc/request-functions.php @@ -1,7 +1,7 @@ $value) { + // Add it secured + $return .= SQL_ESCAPE($key) . '=' . SQL_ESCAPE($value) . '&'; + } // END - foreach + + // Remove trailing & + $return = substr($return, 0, -5); + + // Return it + return $return; +} + // [EOF] ?>