TOPIC:

Drop down data from mysql 2 months 2 weeks ago #244810

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10063
  • Karma: 167
  • Thanks: 800
Ok, these tables need the same prefix "pyfn0_" like the other joomla tables.
Then it should work using #__degree in the query.

Please Log in or Create an account to join the conversation.

Drop down data from mysql 2 weeks 3 days ago #248165

  • omerta7z's Avatar
  • omerta7z
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 11
  • Thanks: 0
I am piggybacking off this forum. I two select list in one forum. The first select list is for usernames in the DB and the second is for another list in a different table. I can list the table but the value will not save.
<?php
$db = JFactory::getDbo();
$db->setQuery("Select title From #__usergroups");
$rows = $db->loadObjectList();

$list = "0;Please Select;\n";

foreach( $rows As $row ){
$list .= "0;".$row->title.";".$row->id."\n";
}

$value = $list; // this passes the value to CB
return $list;
?>

the above code was added in the List area of the select list.

Please Log in or Create an account to join the conversation.

Drop down data from mysql 2 weeks 1 day ago #248189

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10063
  • Karma: 167
  • Thanks: 800
Hi,

does the value show up saved properly in BF => Record Manager but not in the corresponding CB list view or are both both saved?

Regards,
Markus

Please Log in or Create an account to join the conversation.

Time to create page: 0.045 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!