<?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: Querying machform database</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Querying machform database</description>
<language>en</language>
<pubDate>Wed, 06 May 2026 11:16:52 +0000</pubDate>

<item>
<title>redityo on "Querying machform database"</title>
<link>https://www.machform.com/forums/topic/querying-machform-database#post-6876</link>
<pubDate>Sat, 08 Aug 2009 09:33:46 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">6876@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;ok .. I got your mail, let's continue there
&#60;/p&#62;</description>
</item>
<item>
<title>isak on "Querying machform database"</title>
<link>https://www.machform.com/forums/topic/querying-machform-database#post-6874</link>
<pubDate>Sat, 08 Aug 2009 02:24:27 +0000</pubDate>
<dc:creator>isak</dc:creator>
<guid isPermaLink="false">6874@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Just sent the info. Many gracias.
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Querying machform database"</title>
<link>https://www.machform.com/forums/topic/querying-machform-database#post-6865</link>
<pubDate>Fri, 07 Aug 2009 13:01:18 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">6865@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hmmm .. I think the code should works, anyway could you send me your FTP login info and the form url to :&#60;/p&#62;
&#60;p&#62;customer.service[at]appnitro.com&#60;/p&#62;
&#60;p&#62;i will help you with the SQL
&#60;/p&#62;</description>
</item>
<item>
<title>mattbontrager on "Querying machform database"</title>
<link>https://www.machform.com/forums/topic/querying-machform-database#post-6863</link>
<pubDate>Fri, 07 Aug 2009 10:34:40 +0000</pubDate>
<dc:creator>mattbontrager</dc:creator>
<guid isPermaLink="false">6863@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I'm having the same problem.&#60;br /&#62;
I pasted the above sql text directly in (changing the element_#'s of course) and...NADA. Seriously... is there not an easier way to do this? I've been struggling with this for so long. It would seem that the point of having forms that submit to databases would only be useful if you could render that data in a customized, relevant way.&#60;/p&#62;
&#60;p&#62;I was so happy when I discovered this application because it seems geared toward people who like to spend they're time using it... not learning it / learning programming. Please help me.
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Querying machform database"</title>
<link>https://www.machform.com/forums/topic/querying-machform-database#post-6858</link>
<pubDate>Thu, 06 Aug 2009 20:58:35 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">6858@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hmmm ... from your SQL, I assume your form id = 2 and you have 2 drop down (options) field, that are :&#60;/p&#62;
&#60;p&#62;- element 13&#60;br /&#62;
- element 14&#60;/p&#62;
&#60;p&#62;Then try to Query machform data with these SQL &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;select
      A.*,
      B.option as element_13_value,
      C.option as element_14_value
  from
      (ap_form_2 as A
       left join ap_element_options as B
              on A.element_13=B.option_id and B.element_id=13 and B.form_id = 2)
       left join ap_element_options as C
              on A.element_14=C.option_id and C.element_id=14 and C.form_id=2&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>isak on "Querying machform database"</title>
<link>https://www.machform.com/forums/topic/querying-machform-database#post-6852</link>
<pubDate>Thu, 06 Aug 2009 10:30:28 +0000</pubDate>
<dc:creator>isak</dc:creator>
<guid isPermaLink="false">6852@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Please help... I cannot get this to work. I have tried both options and they seem to pull from the correct column in my database, but the info is the same in each result whereas in the database it is different. If you go to this link: &#60;a href=&#34;http://pdgrafiks.com/results.php&#34; rel=&#34;nofollow&#34;&#62;http://pdgrafiks.com/results.php&#60;/a&#62; you will see that the Property Type and the Office are the same in each row when in the database the values are all different.&#60;/p&#62;
&#60;p&#62;Here are the codes I have used:&#60;/p&#62;
&#60;p&#62;SELECT A.*,&#60;br /&#62;
B.option AS element_13_value,&#60;br /&#62;
C.option AS element_14_value&#60;br /&#62;
FROM&#60;br /&#62;
(ap_form_2 AS A&#60;br /&#62;
LEFT JOIN ap_element_options AS B&#60;br /&#62;
ON A.element_13=1 AND B.element_id=13 AND B.option_id=1 and B.form_id=2)&#60;br /&#62;
LEFT JOIN ap_element_options AS C&#60;br /&#62;
ON A.element_14=1 AND C.element_id=14 AND C.option_id=2 and C.form_id=2&#60;/p&#62;
&#60;p&#62;........&#60;br /&#62;
SELECT A.*,B.option&#60;br /&#62;
FROM&#60;br /&#62;
ap_form_2 A left join ap_element_options B&#60;br /&#62;
on&#60;br /&#62;
A.element_13=B.option_id and B.element_id=13&#60;br /&#62;
WHERE&#60;br /&#62;
B.form_id=2&#60;/p&#62;
&#60;p&#62;I have tried all I know. Please help.
&#60;/p&#62;</description>
</item>
<item>
<title>isak on "Querying machform database"</title>
<link>https://www.machform.com/forums/topic/querying-machform-database#post-6834</link>
<pubDate>Wed, 05 Aug 2009 03:20:40 +0000</pubDate>
<dc:creator>isak</dc:creator>
<guid isPermaLink="false">6834@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I tried both examples you gave me for pulling the value of a dropdown into a search results page and they worked. However, I am pulling several records into the search results. The value being placed in the results page is the value of the first record only when the value for each record in my test is different.&#60;/p&#62;
&#60;p&#62;If you go to this link: &#60;a href=&#34;http://pdgrafiks.com/results.php&#34; rel=&#34;nofollow&#34;&#62;http://pdgrafiks.com/results.php&#60;/a&#62;  you will see that the Property Type and the Office are the same in each row when in the database the values are all different.&#60;/p&#62;
&#60;p&#62;Help?
&#60;/p&#62;</description>
</item>
<item>
<title>isak on "Querying machform database"</title>
<link>https://www.machform.com/forums/topic/querying-machform-database#post-6817</link>
<pubDate>Tue, 04 Aug 2009 00:48:37 +0000</pubDate>
<dc:creator>isak</dc:creator>
<guid isPermaLink="false">6817@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Many gracias!!
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Querying machform database"</title>
<link>https://www.machform.com/forums/topic/querying-machform-database#post-6803</link>
<pubDate>Mon, 03 Aug 2009 08:31:41 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">6803@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;machform use 'ap_form_x' (x is your form ID) table to store the data, You can simply use this SQL to retrieve machform data :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;select element_1,element_2 from ap_form_3&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;that SQL will return element 1 and 2 data from form 3. If you need to populate an option field type, you can refer to this 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;
&#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;</description>
</item>
<item>
<title>isak on "Querying machform database"</title>
<link>https://www.machform.com/forums/topic/querying-machform-database#post-6773</link>
<pubDate>Sat, 01 Aug 2009 02:40:23 +0000</pubDate>
<dc:creator>isak</dc:creator>
<guid isPermaLink="false">6773@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Can someone point me in the right direction for querying info from the database created by machforms? I need a way to create a link that will pull certain fields into a page for one use and other fields for another use. Help?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
