fbpx

updategroup

[insert_php]

$GLOBALS[‘wpdb’]->update(
‘groups’,
array(
‘name’ => stripslashes_deep($_POST[‘groupname’]),
‘time’ => $_POST[‘time’],
‘room’ => $_POST[‘room’],
),
array( ‘id’ => $_POST[‘id’] )
);

[/insert_php]