Gossamer Forum
Home : Products : DBMan : Installation :

html_home possibilities?

Quote Reply
html_home possibilities?
Hey all,
I was just sitting here thinking that it would be cool if when a user authenticated themself, that in html_home, it could say "Welcome $name" - not the $db_uid, but the $name pulled from their record in default.db.

Any ideas on how to grab that info out of the database, and splash it up there for the person to see?

Thanks!

Don
Quote Reply
Re: html_home possibilities? In reply to
You would have to do a search of the database to get the results. If there userid is the key, then you could do:

%user = &get_record ($db_userid);

the print out $user{'FieldName'}. If it's not, then you'll have to use &query to get the results.

Cheers,

Alex