开发者

Joomla user info submission

I am submitting a form for users who are already logged in in the front end, but how can I distinguish between submittions? I want to have a 'user' field in my DB that shows who submitted each entry, but how do I find out which user is log开发者_如何转开发ged in and submit that info with the form?

Also, I tried looking for some development tutorials for 1.7, but can't find anything decent, any suggestions are appreciated.

Thanks.


$user = JFactory::getUser();

You would then need to INSERT or SET this name in your database.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜