Forums

getting input from joomla database

jordidegeus 07 Mar, 2009
Hi, i'm pretty new with chronoforms, and i have a question.

Im trying to make a customer database, and i want chronoforms not only to insert the joomla user id (so not just: cf_user_id : 62): but also the original joomla e-mail and user name. I've tried a lot, but i cant get it work. Someone knows how to do this?



Thanks,
GreyHead 07 Mar, 2009
Hi jordidegeus,

It's not difficult - search the forums her on JFactory +getUser and you'll find dozens of posts on getting the information you need.

Having said that . . . don't do it, store the user id and look up the name and username in the jos_users table when you need it. That way you remove any problems with keeping the two tables in sync when things change (which they always do).

Bob
This topic is locked and no more replies can be posted.