<?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: Results that match form in database</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Results that match form in database</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 00:08:30 +0000</pubDate>

<item>
<title>redityo on "Results that match form in database"</title>
<link>https://www.machform.com/forums/topic/results-that-match-form-in-database#post-4026</link>
<pubDate>Tue, 16 Dec 2008 19:18:19 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">4026@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I think you want to get actual data form drop down list instead of drop down id.&#60;br /&#62;
Try to use this sql, you should get actual data (not id) from your drop down element :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;select
      B.option as month_element,
      C.option as year_element
  from
      (ap_form_2 as A
       left join ap_element_options as B
              on A.element_2=B.option_id and B.element_id=2 and B.form_id = 2)
       left join ap_element_options as C
              on A.element_3=C.option_id and C.element_id=3 and C.form_id=2&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;here is from another link &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.appnitro.com/forums/topic/mysql-question?replies=5&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/mysql-question?replies=5&#60;/a&#62;&#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>yuniar on "Results that match form in database"</title>
<link>https://www.machform.com/forums/topic/results-that-match-form-in-database#post-4025</link>
<pubDate>Tue, 16 Dec 2008 19:05:57 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">4025@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Ron, sorry for delay!&#60;/p&#62;
&#60;p&#62;So, basically machform uses relational tables to optimize your database storage.&#60;br /&#62;
For dropdowns, only their index number is being stored to your &#34;ap_form_xxx&#34; table.&#60;/p&#62;
&#60;p&#62;You need to lookup the value of those index numbers to other table, which is &#34;ap_element_options&#34; table.&#60;/p&#62;
&#60;p&#62;Can you let me know exactly what you are trying to do? What do you need with those month and year? &#60;/p&#62;
&#60;p&#62;Do you need to rename your file with those month and year?
&#60;/p&#62;</description>
</item>
<item>
<title>rscott7706 on "Results that match form in database"</title>
<link>https://www.machform.com/forums/topic/results-that-match-form-in-database#post-4023</link>
<pubDate>Tue, 16 Dec 2008 00:24:46 +0000</pubDate>
<dc:creator>rscott7706</dc:creator>
<guid isPermaLink="false">4023@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Just want to kick this up to see if anyone has an answer on it.&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;Ron
&#60;/p&#62;</description>
</item>
<item>
<title>rscott7706 on "Results that match form in database"</title>
<link>https://www.machform.com/forums/topic/results-that-match-form-in-database#post-4015</link>
<pubDate>Sun, 14 Dec 2008 12:41:07 +0000</pubDate>
<dc:creator>rscott7706</dc:creator>
<guid isPermaLink="false">4015@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hey all...&#60;/p&#62;
&#60;p&#62;I am building an interface that will allow the relatively inexperienced employees of our Lakeside Chamber the ability to upload their newsletter and provide the link to it.&#60;/p&#62;
&#60;p&#62;I will upload the Adobe Acrobat file with a php uploader, not MachForm.&#60;/p&#62;
&#60;p&#62;But, I want to upload the month, Year and Link using MachForm.&#60;/p&#62;
&#60;p&#62;So, I built a form that has a month dropdown, and a year dropdown.&#60;/p&#62;
&#60;p&#62;The drawaback is that the database populates with integers, not the months or years I put in the form.&#60;/p&#62;
&#60;p&#62;For instance, the database will have a 1 in month and 1 in year if I select month - &#34;January&#34; and year &#34;2009&#34; (my first year is 2009).&#60;/p&#62;
&#60;p&#62;I tried to go in to the database and change the structure from int to text, but that did not help (as well as other change to match text).&#60;/p&#62;
&#60;p&#62;Here is the link to form:  &#60;a href=&#34;http://www.lakesideca.com/machform/view.php?id=2&#34; rel=&#34;nofollow&#34;&#62;http://www.lakesideca.com/machform/view.php?id=2&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Any ideas??&#60;/p&#62;
&#60;p&#62;Thanks!!&#60;/p&#62;
&#60;p&#62;Ron
&#60;/p&#62;</description>
</item>

</channel>
</rss>
