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
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
Thanks got it just include the echo statement🙂
<?php
$user =& JFactory::getUser($user_id);
?>
cf_user_id='<?php echo $user->id ?>'
<?php
$user =& JFactory::getUser($user_id);
?>
cf_user_id='<?php echo $user->id ?>'
This topic is locked and no more replies can be posted.