$name = notags(trim($_POST['name']));
+ if(! strlen($name)) {
+ $name = '[No Name]';
+ }
+
if($orig[0]['name'] != $name)
$namechanged = true;
+
$pdesc = notags(trim($_POST['pdesc']));
$gender = notags(trim($_POST['gender']));
$address = notags(trim($_POST['address']));