millers Posted July 31, 2008 Report 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 ...
bubu Posted July 31, 2008 Report 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ā.
millers Posted July 31, 2008 Author Report 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
andrisp Posted July 31, 2008 Report Posted July 31, 2008 WHERE daļas neatdala ar komatiem, bet AND/OR.
andrisp Posted July 31, 2008 Report Posted July 31, 2008 Nu nezināju, kā savādak nosaukt. Nepiesienies. :) Par XOR vienkārši aizmirsās.
Recommended Posts