savesel

require 'librusec.php'; Global $user; db_set_active('lib'); $u = $user->name?$user->name:$user->hostname; $s = addslashes($_POST['s']); $p = addslashes($_POST['p']); $r = addslashes($_POST['r']); if ($b = 1*$_POST['b']) Insert ('cor_todo', 'User, Text, Before, After, BookId', "'$u', '$s', '$p', '$r','$b'"); exit;
X