On Thu, Mar 08, 2001 at 12:07:59PM +0100, pp mentioned:
> Hello!
>
> Maybe I made stupid mistake but it seems to me very strange:
To make it simple, use something like;
$person = mgd_get_person();
if($person->create()) {
echo "Create worked!\n";
$person->username=$per_username;
$person->firstname=$per_firstname;
$person->password=$per_password;
$person->lastname=$per_lastname;
$person->birthdate=$per_date;
$person->street=$per_street;
$person->city=$per_city;
$person->homephone=$per_homephone;
$person->handphone=$per_handphone;
$person->workphone=$per_workphone;
$person->homepage=$per_homepage;
$person->email=$per_email;
$person->pgpkey=$per_pgpkey;
$person->extra=$per_extra;
$person->create();
}
Instead. I know this is for creating people, not articles, but it'll work
the same way. Much easier!
Kate
--
When I say 'free', I mean 'free': free from bond, of chain or command:
to go where you will, even to Mordor, Saruman, if you desire. "
-- Gandalf, paraphrasing the choice between Free and Non-free software
PGP signature