Re: [concrete] List Options Advanced Query
Hi,
For both of these, you can use the $CURRENT_USER variable.
I'm assuming you need to do this for the query of a list field?
If, for example, your check box was called "display", you could do something like this:
<?php if ($CURRENT_USER['display']): ?>
select num, title from cms_table where field = '<?php echo $CURRENT_USER['num'];?>
<?php else: ?>
select num, title from cms_table
<?php endif ?>
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/