<?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: view_entry.php changes?</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: view_entry.php changes?</description>
<language>en</language>
<pubDate>Wed, 06 May 2026 08:55:03 +0000</pubDate>

<item>
<title>webcommerce on "view_entry.php changes?"</title>
<link>https://www.machform.com/forums/topic/view_entryphp-changes#post-3501</link>
<pubDate>Sat, 01 Nov 2008 05:52:49 +0000</pubDate>
<dc:creator>webcommerce</dc:creator>
<guid isPermaLink="false">3501@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks mate, I'll give it a go as soon as I get a chance.&#60;br /&#62;
Appreciate the fast feedback atypical of this forum!&#60;br /&#62;
Have a great day.&#60;/p&#62;
&#60;p&#62;Ron S
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "view_entry.php changes?"</title>
<link>https://www.machform.com/forums/topic/view_entryphp-changes#post-3497</link>
<pubDate>Fri, 31 Oct 2008 18:53:42 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">3497@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Go to around line 83~84 in  &#34;view_entry.php&#34; and insert this code :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//get data for header
$result = do_query(&#38;quot;select date_created,element_1 from ap_form_{$form_id} where
id = $entry_id limit 1&#38;quot;);
$row 		= do_fetch_result($result);
$date_created	= $row[&#38;#39;date_created&#38;#39;];
$order_no	= $row[&#38;#39;element_1&#38;#39;];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I assume your &#34;customer code&#34; data using element_1, you should change the element number based on &#34;customer code&#34; element number. after that you can replace the code between line 116 - 121 that you mention with this one :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;info&#38;quot;&#38;gt;
	&#38;lt;h2&#38;gt;&#38;lt;a class=&#38;quot;breadcrumb&#38;quot;
 href=&#38;quot;manage_form.php?id=&#38;lt;?php echo $form_id;
?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php echo $form_name; ?&#38;gt;&#38;lt;/a&#38;gt;
&#38;lt;img src=&#38;quot;images/icons/resultset_next.gif&#38;quot; align=&#38;quot;bottom&#38;quot; /&#38;gt;
&#38;lt;a id=&#38;quot;ve_a_entries&#38;quot; class=&#38;quot;breadcrumb&#38;quot; href=&#38;quot;manage_entries.php?
id=&#38;lt;?php echo $form_id; ?&#38;gt;&#38;quot;&#38;gt;Entries&#38;lt;/a&#38;gt; &#38;lt;img  id=&#38;quot;ve_a_entries&#38;quot;
src=&#38;quot;images/icons/resultset_next.gif&#38;quot; align=&#38;quot;bottom&#38;quot; /&#38;gt; #&#38;lt;?php echo $entry_id; ?&#38;gt;
&#38;lt;img src=&#38;quot;images/icons/resultset_next.gif&#38;quot; align=&#38;quot;bottom&#38;quot; /&#38;gt;&#38;lt;?php echo $order_no; ?&#38;gt;
 &#38;lt;img src=&#38;quot;images/icons/resultset_next.gif&#38;quot; align=&#38;quot;bottom&#38;quot; /&#38;gt;
&#38;lt;?php echo $date_created ;?&#38;gt; &#38;lt;/h2&#38;gt;

Viewing entry #&#38;lt;?php echo $entry_id; ?&#38;gt;

&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I hope it clear for you, little messy up there :)
&#60;/p&#62;</description>
</item>
<item>
<title>webcommerce on "view_entry.php changes?"</title>
<link>https://www.machform.com/forums/topic/view_entryphp-changes#post-3483</link>
<pubDate>Fri, 31 Oct 2008 07:59:43 +0000</pubDate>
<dc:creator>webcommerce</dc:creator>
<guid isPermaLink="false">3483@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I want to add to the Title line on the Entry printout of view_entry.php. I have located the relevant code on lines 116 - 121 for the defaults of $form_name and $entry_id.&#60;/p&#62;
&#60;p&#62;I would like to include [Date Created] and our field [Customer Code] to this line so the relevant form data is clearly identified in the header.&#60;/p&#62;
&#60;p&#62;Can anyone help me with the code to do this?&#60;/p&#62;
&#60;p&#62;Thanks.&#60;br /&#62;
Ron S
&#60;/p&#62;</description>
</item>

</channel>
</rss>
