Chronoforms DB Record Loader where clause PHP option

dev.palankar 06 Oct, 2013
Hi ,

I just want to include php code in the Advanced tab of DB Record Loaderplease show me an example. i tried using this
"
<?php
$user =& JFactory::getUser($user_id);
?>

cf_user_id='<?php $user->id ?>'
"
but it takes the value cf_user_id=0 every time.

Thanks,
Dev.Palankar
dev.palankar 06 Oct, 2013
Thanks got it just include the echo statement🙂

<?php
$user =& JFactory::getUser($user_id);
?>

cf_user_id='<?php echo $user->id ?>'
This topic is locked and no more replies can be posted.