* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* Copyright (c) 2009 - 2011 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
if ((isPostRequestElementSet('modify')) && (isPostRequestElementSet('id'))) {
// Modify
foreach (postRequestElement('id') as $id => $sel) {
- addSql("UPDATE `{?_MYSQL_PREFIX?}_countries` SET `code`='" . postRequestElement('code', $id) . "', `descr`='" . postRequestElement('descr', $id) . "', `is_active`='" . postRequestElement('is_active', $id) . "' WHERE `id`=" . bigintval($id) . " LIMIT 1");
+ addSql("UPDATE
+ `{?_MYSQL_PREFIX?}_countries`
+SET
+ `code`='" . postRequestElement('code', $id) . "',
+ `descr`='" . postRequestElement('descr', $id) . "',
+ `is_active`='" . postRequestElement('is_active', $id) . "'
+WHERE
+ `id`=" . bigintval($id) . "
+LIMIT 1");
} // END - foreach
// Create message