$u->save(); gives me error

High everyone

I really like yii – its great – once i get past the 'blog' demo tutorial I think i will well on my way

PLEASE HELP on this:

i am following along with the video tutorial for the blog demo

while in the command line i entered these lines

$u - new user

$u->username = 'admin';

$u->password = md5('admin;);

… and so far all is okay with no erroe generated

but as soon as I type:

$u->save();

I get an error saying that I have a

Call to undefined method stdClass::save()

any advise?

please.

i just retried again

this time each line has no blank spaces (except for the first line)

and it worked

;D