<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Getting Form Entries From Database</title>
		<link>https://legacy.forums.gravityhelp.com/topic/getting-form-entries-from-database</link>
		<description>Gravity Support Forums Topic: Getting Form Entries From Database</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 13:51:40 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/getting-form-entries-from-database" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Getting Form Entries From Database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/getting-form-entries-from-database#post-75205</link>
			<pubDate>Thu, 13 Sep 2012 20:11:42 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">75205@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you post how you applied your solution for the benefit of other members?  Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>0to5 on "Getting Form Entries From Database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/getting-form-entries-from-database#post-75200</link>
			<pubDate>Thu, 13 Sep 2012 19:54:35 +0000</pubDate>
			<dc:creator>0to5</dc:creator>
			<guid isPermaLink="false">75200@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Close this topic, figured it out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>0to5 on "Getting Form Entries From Database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/getting-form-entries-from-database#post-74959</link>
			<pubDate>Wed, 12 Sep 2012 10:54:40 +0000</pubDate>
			<dc:creator>0to5</dc:creator>
			<guid isPermaLink="false">74959@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris,&#60;/p&#62;
&#60;p&#62;I am submitting a new topic as you requested.  Is there an easy way to get the original field values from the database.  Below is what I think the code should look similar to (obviously not proper syntax or function calls)&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[php]
$entryID = 522;
$entryFields = GFFormDetail::get_entry_by_id($entryID);
$parameterString = &#38;#39;&#38;#39;;

foreach ($entryFields as $entryField) {
  //Get Population Array to look like [  field_values=&#38;#39;parameter_name=val&#38;amp;parameter_name2=val&#38;#39;  ]
  $parameterString = $entryField-&#38;gt;name . &#38;#39;=&#38;#39; . $entryField-&#38;gt;value . &#38;#39;&#38;amp;&#38;#39;;
}

//After for each remove last &#38;amp;
if ($parameterString != &#38;#39;&#38;#39;) {
  $parameterString = substr_replace($parameterString,&#38;quot;&#38;quot;,-1);
}

//Now parameter String is ready for this function (this is the same as the GF hook just linked directly into the actual GF function itself)

return GFFormDisplay::get_form(
	$id,
	$display_title=true,
	$display_description=true,
	$display_inactive=false,
	$field_values=$parameterString,
	$ajax=false,
	$tabindex
);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks for all your help so far Chris - I think I am getting close it just helps with your insight into the Gravity Forms plugin itself and its functions because I have not wrapped my head around all of them.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
