<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1028170" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1028170</link>
    <description></description>
    <language>en</language>
          <item>
    <title>variable, search and display</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/variable-search-and-display#comment-1166321</link>
    <description> &lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;Im not sure which language Im suppose to be using fo this idea.&lt;/p&gt;
&lt;p&gt;the template file for this has other code surrounded by &quot;%%&quot;&lt;br /&gt;
example:&lt;br /&gt;
%%title%%&lt;/p&gt;
&lt;p&gt;My failed attempt to write something just shows the code entirely:&lt;/p&gt;
&lt;p&gt;#!/usr/bin/perl&lt;/p&gt;
&lt;p&gt;use CGI &#039;:standard&#039;; &lt;/p&gt;
&lt;p&gt;my $db_id = param(&#039;db_id&#039;);&lt;/p&gt;
&lt;p&gt;$database=&quot;/home/2015/public_html/cgi-bin/data/As.data&quot;; &lt;/p&gt;
&lt;p&gt;open (ORGDB,&quot;&amp;lt;$database&quot;);&lt;br /&gt;
@ODB=;&lt;br /&gt;
close (ORGDB);&lt;br /&gt;
@SODB=sort(@ODB); #sort in order by ID number.&lt;/p&gt;
&lt;p&gt;print &quot;Content-type: text/html\n\n&quot;;&lt;br /&gt;
print qq~&lt;/p&gt;
&lt;p&gt;~;&lt;/p&gt;
&lt;p&gt;$title = &quot;No Entries Found&quot;; &lt;/p&gt;
&lt;p&gt;foreach $rec (@SODB){&lt;br /&gt;
chomp($rec);&lt;br /&gt;
($id,$lastname,$date,$name,$seller,$caption,$car,$color)=split(/\|/,$rec);&lt;/p&gt;
&lt;p&gt;if($db_id eq $id){&lt;br /&gt;
$title = &quot;$seller - $car&quot;;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;print qq~&lt;/p&gt;
&lt;p&gt;$title&lt;br /&gt;
~; %%TITLE%%&lt;/p&gt;
 </description>
     <pubDate>Thu, 17 Feb 2005 20:42:17 +0000</pubDate>
 <dc:creator>rayzun</dc:creator>
 <guid isPermaLink="false">comment 1166321 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/variable-search-and-display#comment-1166312</link>
    <description> &lt;p&gt;Does this have to be a .cgi script? I can give you the code to do this with PHP. Perl I would have to look up as I haven&#039;t used it since I learned PHP.&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Thu, 17 Feb 2005 18:22:16 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1166312 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
