millers Posted July 31, 2008 Report Share Posted July 31, 2008 kadel man sads errors tika izmests pie registracijas Warning: mysql_result(): supplied argument is not a valid MySQL result resource in rekur viss reg.php code http://paste.php.lv/7740?lang=php un kad es no jauna uzrakstu tadus pasus datus ka ieprieksejam lietotajam vinjs registre to ari kautvaj tadi dati jau ir db ... Link to comment Share on other sites More sharing options...
bubu Posted July 31, 2008 Report Share Posted July 31, 2008 Tāds kļūdas paziņojums parasti nozīmē SQL sinakses kļūdu. Vienmēr devlopēšanas kodā raksti $result = mysql_query(...) or die(mysql_error()); Tad redzēsi MySQL kļūdas paziņojumu outputā. Link to comment Share on other sites More sharing options...
millers Posted July 31, 2008 Author Report Share Posted July 31, 2008 izleca saads You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' epasts = 'artursm15@inbox.lv'' at line 1 Link to comment Share on other sites More sharing options...
andrisp Posted July 31, 2008 Report Share Posted July 31, 2008 WHERE daļas neatdala ar komatiem, bet AND/OR. Link to comment Share on other sites More sharing options...
millers Posted July 31, 2008 Author Report Share Posted July 31, 2008 liels paldies viss izdevas :) Link to comment Share on other sites More sharing options...
bubu Posted July 31, 2008 Report Share Posted July 31, 2008 WHERE daļas daļas? bet AND/OR. Un kur XOR? Link to comment Share on other sites More sharing options...
andrisp Posted July 31, 2008 Report Share Posted July 31, 2008 Nu nezināju, kā savādak nosaukt. Nepiesienies. :) Par XOR vienkārši aizmirsās. Link to comment Share on other sites More sharing options...
Recommended Posts