<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1021220" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1021220</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-select#comment-1131079</link>
    <description> &lt;p&gt;The header can be a difficult one to work with. Like Mark said, get rid of any output prior to calling it. In a script, I had this meant moving an include file to be included after I called the header.&lt;/p&gt;
 </description>
     <pubDate>Sun, 11 May 2003 11:27:06 +0000</pubDate>
 <dc:creator>mairving</dc:creator>
 <guid isPermaLink="false">comment 1131079 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-select#comment-1131075</link>
    <description> &lt;p&gt;Eliminate all output prior to the header call.&lt;/p&gt;
 </description>
     <pubDate>Sun, 11 May 2003 05:52:11 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1131075 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-select#comment-1131063</link>
    <description> &lt;p&gt;well, i did a search on php.net for url redirection, and all i could come up with was the header() to automatically redirect...is there some way i can get around this?&lt;/p&gt;
 </description>
     <pubDate>Sat, 10 May 2003 19:02:59 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1131063 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-select#comment-1131039</link>
    <description> &lt;p&gt;Header() cannot be called after the script has printed (echoed) anything.  This includes white space.&lt;/p&gt;
 </description>
     <pubDate>Sat, 10 May 2003 08:34:41 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1131039 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-select#comment-1131019</link>
    <description> &lt;p&gt;when it says &quot;headers already sent&quot;, is that referring to my redirection?  if so, how can i redirect without using a header&lt;/p&gt;
 </description>
     <pubDate>Sat, 10 May 2003 01:51:43 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1131019 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-select#comment-1130932</link>
    <description> &lt;p&gt;What that did is show me that you do have all of your quotes, and that the entire query appears to be correct in syntax.&lt;/p&gt;
&lt;p&gt;In the php above (your post on May 5), there doesn&#039;t appear to be a typo between the mysql_query and the mysql_num_rows. (I&#039;ll sometimes mispell $result)&lt;/p&gt;
&lt;p&gt;At this point, I&#039;m at a loss.  I don&#039;t know what&#039;s causing the error.&lt;/p&gt;
 </description>
     <pubDate>Fri, 09 May 2003 06:16:44 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1130932 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-select#comment-1130909</link>
    <description> &lt;p&gt;the info was getting posted, but it would appear to have errors when submitted, and did not redirect to a new page like it should&lt;/p&gt;
&lt;p&gt;i replaced the $result=mysql_query with &quot;die&quot;, and heres what it gave:&lt;code&gt;SELECT * FROM creationcon WHERE Name=&amp;#039;test&amp;#039;, Address=&amp;#039;test&amp;#039;, City=&amp;#039;test&amp;#039;, StateProv=&amp;#039;test&amp;#039;, Country=&amp;#039;USA&amp;#039;, Zip=&amp;#039;21431&amp;#039;, Email=&amp;#039;tetst&amp;#039;, Phone=&amp;#039;3141241&amp;#039;&lt;/code&gt;&#039;  what does that do for me/us?  all it did was show the inputs i ...inputted.&lt;/p&gt;
 </description>
     <pubDate>Fri, 09 May 2003 01:22:54 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1130909 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-select#comment-1130875</link>
    <description> &lt;p&gt;Kyle&#039;s trying to prevent duplicate records.  Primary keys won&#039;t prevent that.&lt;/p&gt;
 </description>
     <pubDate>Thu, 08 May 2003 17:07:34 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1130875 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-select#comment-1130834</link>
    <description> &lt;p&gt;ideally you create a primary key.  select where primarykey=1 is infinitely faster than select where this=that and that=lat and lat=pat and pat=matt and ...&lt;/p&gt;
 </description>
     <pubDate>Thu, 08 May 2003 08:25:50 +0000</pubDate>
 <dc:creator>ROB</dc:creator>
 <guid isPermaLink="false">comment 1130834 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-select#comment-1130831</link>
    <description> &lt;p&gt;You could make each field a UNIQUE key, but you&#039;ll loose performance.&lt;br /&gt;
I don&#039;t remember what exactly was said, but somewhere in the MySQL&lt;br /&gt;
docs it said that making every field a key can reduce table performace&lt;br /&gt;
to the point where it would run faster with no keys.&lt;/p&gt;
&lt;p&gt;Ideally, you would make a combination of few fields a single UNIQUE key.&lt;/p&gt;
&lt;p&gt;At this point, I just want to see the exact query which is being run.&lt;br /&gt;
This can allow us to see what is causing the syntax error.  If we can&#039;t&lt;br /&gt;
spot an error, we can copy &amp;amp; paste the query into phpMyAdmin or a&lt;br /&gt;
terminal and run it manually.  If running the same query manually&lt;br /&gt;
doesn&#039;t result in an error, then the mistake is somewhere else in the&lt;br /&gt;
PHP code.&lt;/p&gt;
 </description>
     <pubDate>Thu, 08 May 2003 07:52:23 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1130831 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
