<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1021646" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1021646</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/redirect-if-variablex#comment-1133394</link>
    <description> &lt;p&gt;Alternatively, add one field to the main database and an additional table.&lt;/p&gt;
&lt;p&gt;Main Database: Date of Death&lt;/p&gt;
&lt;p&gt;New Table: id, Obituary (blob?)&lt;/p&gt;
&lt;p&gt;Then, if there is a Date of Death, display it and a link to the obituary so that if people only want the information, it&#039;s available, otherwise they can view the obituary.&lt;/p&gt;
&lt;p&gt;Under the same set up, you can also display the obituary at the top of the information without offering the choice.&lt;/p&gt;
 </description>
     <pubDate>Mon, 23 Jun 2003 12:11:44 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1133394 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/redirect-if-variablex#comment-1133386</link>
    <description> &lt;p&gt;I would recommend altering the database.  You&#039;re only going to have more people die.  And I don&#039;t think you want to be editing old files everytime this happens.&lt;/p&gt;
&lt;p&gt;Perhaps add a short varchar(30) field which contains the name of a file.  Default value is an empty string.  If the person dies, change the value of the field to the name of a file.&lt;/p&gt;
&lt;p&gt;Example: John Doe died...  create an &#039;In Honor Of&quot; page, and call it &quot;john_doe.php&quot; and save it in a directory.&lt;/p&gt;
&lt;p&gt;Now, anytime you query the DB for anyone, check this field first.  If the field is empty, pull up records as usual.  If the field is not empty, redirect to your directory/file_name.php.&lt;/p&gt;
&lt;p&gt;redirect:&lt;br /&gt;
header(&quot;Location: http://example.com/path/to/file.php&quot;);&lt;/p&gt;
&lt;p&gt;The path may be absolute, relative, or a full URL.&lt;/p&gt;
 </description>
     <pubDate>Mon, 23 Jun 2003 05:35:54 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1133386 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
