Hi
Thank you for amazing component.
I need some help. Could someone advice me, how to bring the username who submited my form to show in my connecticity table.
Thank you for amazing component.
I need some help. Could someone advice me, how to bring the username who submited my form to show in my connecticity table.
Hi Lek,
do this:
Regards,
Max
do this:
<?php
$user = JRequest::getUser();
echo $user->id;
?>Regards,
Max
Hi Max
Sorry that I have nothing php knowledge. Please kindly tell me more, where I must fill this code.
(I try to fill in body and got fatal error)
Sorry that I have nothing php knowledge. Please kindly tell me more, where I must fill this code.
(I try to fill in body and got fatal error)
Hi Lek,
sorry there was a mistake, it should be :
Regards,
Max
sorry there was a mistake, it should be :
<?php
$user = JFactory::getUser();
echo $user->id;
?>Regards,
Max
Hi Max
Thank you for your help!😀
With you code, I can pull username who login the moment,
when another login it show their username in every raw data. :?
However, I use this code in textbox(type = hidden) of chronoform to echo username (who login a moment) like a auto fill and then submit, send username data to database. that work with I need.
Anyway, I think it have another way that easier than my method..
Thank you for your help!😀
With you code, I can pull username who login the moment,
when another login it show their username in every raw data. :?
However, I use this code in textbox(type = hidden) of chronoform to echo username (who login a moment) like a auto fill and then submit, send username data to database. that work with I need.
Anyway, I think it have another way that easier than my method..
Hi Lek, Can't understand it well, this solved your problem or you still have some issue ?
Regards,
Max
Regards,
Max
This topic is locked and no more replies can be posted.
