select #__eb_events.event_date from #__eb_events, #__eb_registrants
where #__eb_events.id = #__eb_registrants.event_id
and #__eb_registrants.user_id = '[user_id]'
and #__eb_registrants.checked_in = 1
and #__eb_events.alias = 'LHPS'
order by #__eb_events.event_date desc
limit 1 ;
Please Log in to join the conversation.
Please Log in to join the conversation.
select #__eb_events.event_date from #__eb_events, #__eb_registrants
where #__eb_events.id = #__eb_registrants.event_id
and #__eb_registrants.user_id = '[user_id]'
and #__eb_registrants.checked_in = 1
and #__eb_events.alias = 'LHPS'
order by #__eb_events.event_date desc
limit 1
update #__comprofiler
set cb_lhps_course_date =
[select #__eb_events.event_date from #__eb_events, #__eb_registrants
where #__eb_events.id = #__eb_registrants.event_id
and #__eb_registrants.user_id = '[user_id]'
and #__eb_registrants.checked_in = 1
and #__eb_events.alias = 'LHPS'
order by #__eb_events.event_date desc
limit 1]
where user_id = '[user_id]'
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.