zviedzha Posted April 4, 2007 Report Share Posted April 4, 2007 Lūdzu, pasakiet kur ir kļūda! Kad spiežu pogu, tad man izmet: REĢISTRĀCIJAS KĻŪDA! Un dati netiek pievienoti datu bāzes tabulai! paste.php.lv/5398 Paldies jau iepriekš! Link to comment Share on other sites More sharing options...
cucumber Posted April 4, 2007 Report Share Posted April 4, 2007 (edited) kapec tev shi fija addNewUser() return mysql_query($q,$conn), man liekas ka f-ja mysql_query atgriezs resource id , labak parbaudi ja izdevas palast query, tad lai return 1; uztaisi var_dump $_SESSION['regresult'] pirm 27 rindas ps. uzraksti pashu kodu strukturetaku un lasamaku ?> text <? , labak tad ar echo vadi tos pazinojumus Edited April 4, 2007 by cucumber Link to comment Share on other sites More sharing options...
andrisp Posted April 4, 2007 Report Share Posted April 4, 2007 (edited) cucumber, mysql_query ar insert neatgriež resourci: For other type of SQL statements, UPDATE, DELETE, DROP, etc, mysql_query() returns TRUE on success or FALSE on error. Edited April 4, 2007 by andrisp Link to comment Share on other sites More sharing options...
cucumber Posted April 4, 2007 Report Share Posted April 4, 2007 (edited) respektivi, tad gluks ieksh query. enivei kods liks. cik bija noteikumos teikts ka tadus jautajumus(postus) vispar taisit nevar :) Edited April 4, 2007 by cucumber Link to comment Share on other sites More sharing options...
Recommended Posts