<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Retrieving Dropdown Values</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Retrieving Dropdown Values</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 05:51:13 +0000</pubDate>

<item>
<title>yuniar on "Retrieving Dropdown Values"</title>
<link>https://www.machform.com/forums/topic/retrieving-dropdown-values#post-19378</link>
<pubDate>Sat, 12 Oct 2013 11:44:38 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">19378@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;The above code only refer to the SQL code that can be placed into any custom script or any code within machform files that execute SQL.
&#60;/p&#62;</description>
</item>
<item>
<title>fourward on "Retrieving Dropdown Values"</title>
<link>https://www.machform.com/forums/topic/retrieving-dropdown-values#post-19342</link>
<pubDate>Wed, 09 Oct 2013 00:15:26 +0000</pubDate>
<dc:creator>fourward</dc:creator>
<guid isPermaLink="false">19342@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Where would that code go?
&#60;/p&#62;</description>
</item>
<item>
<title>andylooney on "Retrieving Dropdown Values"</title>
<link>https://www.machform.com/forums/topic/retrieving-dropdown-values#post-9914</link>
<pubDate>Tue, 13 Jul 2010 05:44:01 +0000</pubDate>
<dc:creator>andylooney</dc:creator>
<guid isPermaLink="false">9914@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;You guys got it! Thank you sooo much!
&#60;/p&#62;</description>
</item>
<item>
<title>andylooney on "Retrieving Dropdown Values"</title>
<link>https://www.machform.com/forums/topic/retrieving-dropdown-values#post-9883</link>
<pubDate>Thu, 08 Jul 2010 05:37:25 +0000</pubDate>
<dc:creator>andylooney</dc:creator>
<guid isPermaLink="false">9883@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Okay, thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Retrieving Dropdown Values"</title>
<link>https://www.machform.com/forums/topic/retrieving-dropdown-values#post-9879</link>
<pubDate>Wed, 07 Jul 2010 19:42:37 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">9879@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Andy,&#60;/p&#62;
&#60;p&#62;Can you send us your current code please?&#60;br /&#62;
Also, let us know the URL to your form as well.&#60;/p&#62;
&#60;p&#62;Please send to: customer.service [at] appnitro.com&#60;br /&#62;
We'll help you there.
&#60;/p&#62;</description>
</item>
<item>
<title>andylooney on "Retrieving Dropdown Values"</title>
<link>https://www.machform.com/forums/topic/retrieving-dropdown-values#post-9875</link>
<pubDate>Wed, 07 Jul 2010 06:12:09 +0000</pubDate>
<dc:creator>andylooney</dc:creator>
<guid isPermaLink="false">9875@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yeah, i found that post and the other one like it,but i can't seem to get that to work either.
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Retrieving Dropdown Values"</title>
<link>https://www.machform.com/forums/topic/retrieving-dropdown-values#post-9871</link>
<pubDate>Tue, 06 Jul 2010 13:42:43 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">9871@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;You can use these SQL code to get drop down value from mysql :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;select
      A.*,
      B.option as element_6_value,
      C.option as element_7_value
  from
      (ap_form_271 as A
       left join ap_element_options as B
              on A.element_6=B.option_id and B.element_id=6 and B.form_id = 271)
       left join ap_element_options as C
              on A.element_7=C.option_id and C.element_id=7 and C.form_id=271&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You need to change the form id and element id in there with yours. For further information, you can see to these post :&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.appnitro.com/forums/topic/drop-downs-and-mysql?replies=11&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/drop-downs-and-mysql?replies=11&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>andylooney on "Retrieving Dropdown Values"</title>
<link>https://www.machform.com/forums/topic/retrieving-dropdown-values#post-9866</link>
<pubDate>Tue, 06 Jul 2010 07:11:14 +0000</pubDate>
<dc:creator>andylooney</dc:creator>
<guid isPermaLink="false">9866@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi, I have spent the week and 30+ hours trying to retrieve the dropdown values from mach form mysql tables and to display them on a table on my website. I have read the posts explaining how to do a left join, i have learned about joins on my own, etc. I have even tried to write my way around this problem -but to no avail. I'm am finally frustrated enough to ask for help.&#60;br /&#62;
Basically, I am using machforms as a tool for my employees to enter in data about various local companies. After they enter that data, it is stored in a mysql database.&#60;br /&#62;
I then have a form on my website that consists of a dropdown menu, a checkbox array, and a submit button. A visitor to my site is supposed to be able to select a county from the dropdown and a type of company from the checkbox array. Then this posts to a script which hunts for the matching listings in the machforms databse and displays relevant results in a table.&#60;br /&#62;
Since most of the data is entered in machforms through dropdown boxes, the hard part is getting my php script to query the machforms database correctly. I have connected a few times -but cannot get this to work correctly. HELP!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
