• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: 2 independed select list

2 independed select list 9 years 11 months ago #27587

  • mary_8
  • mary_8's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
hi
please help me
i want 2 select list in rsmembership

1- display teachers name
2- displyy courses of selected teacher in the first select list


code in first select list is: result this list is teacher name:
//<code>
$db = JFactory::getDBO();
$db->setQuery("SELECT permalink FROM `acoea_easyblog_users` where published='1' ");
return implode("\n", $db->loadResultArray());
//</code>

code in seceond select list is:
//<code>
$db = JFactory::getDBO();
$db->setQuery("SELECT `cb_uni1` FROM `acoea_comprofiler` WHERE id in ( SELECT id FROM `acoea_users` WHERE username='www' ) ");
return implode("\n", $db->loadResultArray());
//</code>


I cant send teacher name parameter to second list !!!raplace www
thx
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!