Forums

Select Where option in V4

Robthemanbob 13 Feb, 2012
Hi there,

I am kinda new to this entire Chrono tool and I think it is great. I created a custom form using your how to guides and one of the forms grabs the username and stores it into a table. I am now trying to generate a list where I only select records where that specific username is entered.

I am trying to create an over all group list (done) and a list for those who have added items into their group list.

I am having trouble using the select option and it does not recognize my select statement.

In the advanced tab on a multi record loader I have this

<?php
$user = JFactory::getUser();
echo " `username` = $user ";
?>



Can you tell me what I am doing wrong ?
Max_admin 15 Feb, 2012
Your 2nd line is wrong, you get the user name using:
$user->get('username')


Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.