<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1023964" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1023964</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-problem-0#comment-1146995</link>
    <description> &lt;p&gt;Yes, they are setup with the exact same fields...&lt;/p&gt;
&lt;p&gt;I do have to restrict by date, just not limit how many results display&lt;/p&gt;
&lt;p&gt;Sample:&lt;br /&gt;
{Order}   {Activity}   {Date}         {Place}  {Time}&lt;br /&gt;
  1            Meet        2004-6-02     Mall       00:00:00&lt;br /&gt;
etc.&lt;/p&gt;
 </description>
     <pubDate>Sat, 06 Mar 2004 16:01:31 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1146995 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-problem-0#comment-1146975</link>
    <description> &lt;p&gt;I&#039;m assuming that the tables are set up with the same fields (or close)?&lt;/p&gt;
 </description>
     <pubDate>Sat, 06 Mar 2004 06:09:05 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1146975 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-problem-0#comment-1146961</link>
    <description> &lt;p&gt;Its from a different table? Thats weird, mysql should be spitting out &#039;unknown column&#039; errors... &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/confused.png&quot; title=&quot;Confused&quot; alt=&quot;Confused&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 06 Mar 2004 03:09:27 +0000</pubDate>
 <dc:creator>Chroder</dc:creator>
 <guid isPermaLink="false">comment 1146961 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-problem-0#comment-1146960</link>
    <description> &lt;p&gt;So you don&#039;t need to restrict it by date? And you&#039;re accessing a different table? Okay, make sure you have all that information right, then, eh?&lt;/p&gt;
&lt;p&gt;Do you have a sample of the table data?&lt;/p&gt;
 </description>
     <pubDate>Sat, 06 Mar 2004 03:07:26 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1146960 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-problem-0#comment-1146959</link>
    <description> &lt;p&gt;Sorry...I&#039;ve been busy...&lt;/p&gt;
&lt;p&gt;Yes, I took your old one, and modified it for a new page, removing the LIMIT...different table, almost exactly the same info...40+ rows of information&lt;/p&gt;
 </description>
     <pubDate>Sat, 06 Mar 2004 02:29:26 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1146959 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-problem-0#comment-1146957</link>
    <description> &lt;p&gt;&lt;a href=&quot;http://www.php.net/manual/en/function.date.php&quot; class=&quot;bb-url&quot;&gt;http://www.php.net/manual/en/function.date.php&lt;/a&gt; on how PHP does it&lt;br /&gt;
&lt;a href=&quot;http://www.mysql.com/doc/en/DATETIME.html&quot; class=&quot;bb-url&quot;&gt;http://www.mysql.com/doc/en/DATETIME.html&lt;/a&gt; on how MySQL does it&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;DATE_FORMAT(date, &#039;%m/%d/%Y&#039;) AS date&lt;/strong&gt; sets the date in the m/d/Y format, so to compare it to the $today variable, it should be &lt;strong&gt;$today = date(m/d/Y);&lt;/strong&gt; but I thought I put a &lt;strong&gt;LIMIT = 6&lt;/strong&gt; in the query and &lt;strong&gt;WHERE date &amp;gt;= $today&lt;/strong&gt; blah blah??&lt;/p&gt;
 </description>
     <pubDate>Sat, 06 Mar 2004 01:11:14 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1146957 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-problem-0#comment-1146953</link>
    <description> &lt;p&gt;And one more thing, how are you comparing the date string with a &#039;less-than or equal to&#039; operator? Does PHP automatically convert date&#039;s or something? Not sure about that...&lt;/p&gt;
 </description>
     <pubDate>Sat, 06 Mar 2004 00:45:21 +0000</pubDate>
 <dc:creator>Chroder</dc:creator>
 <guid isPermaLink="false">comment 1146953 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-problem-0#comment-1146948</link>
    <description> &lt;p&gt;The problem I think is the same code works (or near to the same code) on other pages on the site and there ARE rows (expected and actually there) for that query? Kyle, can you confirm what you&#039;ve changed? I don&#039;t see a LIMIT on there... Is this old or new code?&lt;/p&gt;
 </description>
     <pubDate>Sat, 06 Mar 2004 00:24:11 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1146948 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-problem-0#comment-1146941</link>
    <description> &lt;p&gt;A query that returns 0 results is still a perfectly valid query. So I&#039;m guessing you were right when you said there were no rows.&lt;/p&gt;
&lt;p&gt;Or try looking at the page source. It may look blank, but I know sometimes I&#039;ve got errors but I don&#039;t see them because I&#039;ve got them printed before the &quot; ....&quot;.&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 Mar 2004 21:36:19 +0000</pubDate>
 <dc:creator>Chroder</dc:creator>
 <guid isPermaLink="false">comment 1146941 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-problem-0#comment-1146940</link>
    <description> &lt;p&gt;Sorry, I just edited that, whoops!&lt;/p&gt;
&lt;p&gt;The die() doesn&#039;t echo the error, so it&#039;s not returning anything to the browser?&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 Mar 2004 21:30:03 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1146940 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
