'title' => $db->escape_string($mybb->input['title']), 'description' => $db->escape_string($mybb->input['description']), 'regex' => $db->escape_string(str_replace("\x0", "", $mybb->input['regex'])),
| 'title' => $db->escape_string($mybb->input['title']), 'description' => $db->escape_string($mybb->input['description']), 'regex' => $db->escape_string(str_replace("\x0", "", $mybb->input['regex'])),
|
$db->update_query("mycode", $mycode, "cid='".intval($mybb->input['cid'])."'");
| $db->update_query("mycode", $updated_mycode, "cid='".intval($mybb->input['cid'])."'");
|
{ $array = array(); $array['actual'] = @preg_replace("#".str_replace("\x0", "", $regex)."#si", $replacement, $test);
|
{ $array = array(); $array['actual'] = @preg_replace("#".str_replace("\x0", "", $regex)."#si", $replacement, $test);
|