- SQL_QUERY_ESC("UPDATE `{!MYSQL_PREFIX!}_pool` SET
-subject='%s',
-text='%s',
-url='%s'
-WHERE id=%s LIMIT 1",
- array(
- $_POST['subj'],
- $_POST['text'],
- $_POST['url'],
- bigintval($_POST['id']),
-), __FILE__, __LINE__);
+ SQL_QUERY_ESC("UPDATE
+ `{?_MYSQL_PREFIX?}_pool`
+SET
+ `subject`='%s',
+ `text`='%s',
+ `url`='%s'
+WHERE
+ `id`=%s
+LIMIT 1",
+ array(
+ postRequestElement('subject'),
+ postRequestElement('text'),
+ postRequestElement('url'),
+ bigintval(postRequestElement('id')),
+ ), __FILE__, __LINE__);