<?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: Sorry: Parse error: syntax error, unexpected &#039;</title>
		<link>https://legacy.forums.gravityhelp.com/topic/sorry</link>
		<description>Gravity Support Forums Topic: Sorry: Parse error: syntax error, unexpected &#039;</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 02:29:38 +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/sorry" rel="self" type="application/rss+xml" />

		<item>
			<title>Joseph on "Sorry: Parse error: syntax error, unexpected &#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sorry#post-73990</link>
			<pubDate>Wed, 05 Sep 2012 11:00:12 +0000</pubDate>
			<dc:creator>Joseph</dc:creator>
			<guid isPermaLink="false">73990@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;cool!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Sorry: Parse error: syntax error, unexpected &#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sorry#post-73867</link>
			<pubDate>Tue, 04 Sep 2012 17:50:10 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">73867@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Probably the best solution without duplicating the form or writing some more PHP to check for page and whatnot. Let us know if you need anything else.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Joseph on "Sorry: Parse error: syntax error, unexpected &#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sorry#post-73838</link>
			<pubDate>Tue, 04 Sep 2012 14:10:03 +0000</pubDate>
			<dc:creator>Joseph</dc:creator>
			<guid isPermaLink="false">73838@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;All good for now.&#60;/p&#62;
&#60;p&#62;Just gonna change &#34;order&#34;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Joseph on "Sorry: Parse error: syntax error, unexpected &#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sorry#post-73834</link>
			<pubDate>Tue, 04 Sep 2012 14:05:17 +0000</pubDate>
			<dc:creator>Joseph</dc:creator>
			<guid isPermaLink="false">73834@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I suppose the heading could be Services/Product
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Sorry: Parse error: syntax error, unexpected &#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sorry#post-73826</link>
			<pubDate>Tue, 04 Sep 2012 13:36:58 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">73826@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Services and Product in the same form? Or do you mean just not use Services in the other form?  I don't know of a way to have one form with both labels, but we can have different forms each with their own label.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Joseph on "Sorry: Parse error: syntax error, unexpected &#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sorry#post-73824</link>
			<pubDate>Tue, 04 Sep 2012 13:31:27 +0000</pubDate>
			<dc:creator>Joseph</dc:creator>
			<guid isPermaLink="false">73824@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;done &#60;/p&#62;
&#60;p&#62;gonna apply the same thing to order&#60;/p&#62;
&#60;p&#62;cheers
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Joseph on "Sorry: Parse error: syntax error, unexpected &#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sorry#post-73823</link>
			<pubDate>Tue, 04 Sep 2012 13:22:22 +0000</pubDate>
			<dc:creator>Joseph</dc:creator>
			<guid isPermaLink="false">73823@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Cool! Very Cool!&#60;/p&#62;
&#60;p&#62;If there was another form with a product (a physical item, just thinking ahead here), would that be possible to have services and product.&#60;/p&#62;
&#60;p&#62;or would that be another table?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Sorry: Parse error: syntax error, unexpected &#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sorry#post-73820</link>
			<pubDate>Tue, 04 Sep 2012 13:06:48 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">73820@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Put it right at line 446 in that paste, but remove the opening &#38;lt;?php and closing ?&#38;gt; otherwise you will get a parse error again.  The code you paste should be just this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
// change Product to Service
add_filter(&#38;quot;gform_product&#38;quot;, &#38;quot;change_product&#38;quot;, 10, 2);
function change_product($label, $form_id) {
    return &#38;quot;Service&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Add the other lines immediately after these 5, right before the closing ?&#38;gt; in your file.  Don't paste in the &#38;lt;?php or ?&#38;gt; or bad things will happen.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Joseph on "Sorry: Parse error: syntax error, unexpected &#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sorry#post-73819</link>
			<pubDate>Tue, 04 Sep 2012 13:01:53 +0000</pubDate>
			<dc:creator>Joseph</dc:creator>
			<guid isPermaLink="false">73819@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;&#60;a href=&#34;http://pastebin.com/huKHubgM&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/huKHubgM&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;is there a particular place where the code should go.&#60;/p&#62;
&#60;p&#62;I havent placed here
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Joseph on "Sorry: Parse error: syntax error, unexpected &#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sorry#post-73818</link>
			<pubDate>Tue, 04 Sep 2012 12:52:18 +0000</pubDate>
			<dc:creator>Joseph</dc:creator>
			<guid isPermaLink="false">73818@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If I only wanted to apply this to one form&#60;/p&#62;
&#60;p&#62;Would I have to but the form id anywhere in the code below?&#60;/p&#62;
&#60;p&#62;add_filter(&#34;gform_product&#34;, &#34;change_product&#34;, 10, 11);&#60;br /&#62;
function change_product($label, $form_id){&#60;br /&#62;
    return &#34;Services&#34;;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
