<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1012256" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1012256</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/phpmysql-help#comment-1070835</link>
    <description> &lt;p&gt;Yes, you should always check all input before submit/change/edit the data&lt;/p&gt;
&lt;p&gt;minor question: How could we determine that ALL the possibilities have been taken into account? Or wait until the user discover them (and may even hack the system down!)&lt;/p&gt;
 </description>
     <pubDate>Fri, 08 Sep 2000 20:54:47 +0000</pubDate>
 <dc:creator>123finder.com</dc:creator>
 <guid isPermaLink="false">comment 1070835 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/phpmysql-help#comment-1070667</link>
    <description> &lt;p&gt;I&#039;m not sure I understand. Are you saying that sometimes when the form is processed it enters the info into the database and sometime it doesn&#039;t? If that&#039;s the case, there are a couple of things to check.&lt;/p&gt;
&lt;p&gt;1) Make sure it&#039;s getting fed valid data. It could be choking on getting text fed into an int() field like if you have an input for Age: set as int(3), and somebody is trying to enter: sixteen in the form.&lt;/p&gt;
&lt;p&gt;2) Are the inserts conditional? Like if $foo == 1 {&lt;br /&gt;
insert into etc etc etc} In that case, the state of $foo could be the culprit, so make sure it&#039;s set properly.&lt;/p&gt;
&lt;p&gt;3) Check for unique fields. If you have a date or name field set as UNIQUE the data won&#039;t get entered if there&#039;s already an entry from that name or date.&lt;/p&gt;
&lt;p&gt;4) Are NULL fields allowed? If you have something set as NOT NULL and that input is left blank on the form, the insert will fail.&lt;/p&gt;
&lt;p&gt;It would help if you included your FORM code, the db table set-up and the INSERT statement here&lt;/p&gt;
&lt;p&gt;[Edited by Maverick on 09-06-2000 at 02:03 PM]&lt;/p&gt;
 </description>
     <pubDate>Tue, 05 Sep 2000 17:36:27 +0000</pubDate>
 <dc:creator>Maverick</dc:creator>
 <guid isPermaLink="false">comment 1070667 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>huh!?!</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/phpmysql-help#comment-1070633</link>
    <description> &lt;p&gt;I don&#039;t get it.. the script will write to the database without being &#039;asked to&#039;?&lt;/p&gt;
&lt;p&gt;Can you post the script (minus the password stuff)?  or is it too big?&lt;/p&gt;
 </description>
     <pubDate>Mon, 04 Sep 2000 23:03:25 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1070633 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
