intloc Posted October 3, 2004 Report Share Posted October 3, 2004 Please help, esmu viens no iesaaceejeim! Ttaatad man ir useru autentifikaacijas skriptinjsh izveidots, bet negriezhaas funkcijas mysql_num_rows() un mysql_fetch_array(). Kas var buut par probleemu? Kljuuda ir sekojosha: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\apache\apache\htdocs\d.php on line 11 Vienkarshi visi skriptinji, ko esmu redzeejis tieshi taadaa pashaa veidaa izmanto shiis funkcijas kaa es to daru, bet nu neiet! Link to comment Share on other sites More sharing options...
Roze Posted October 3, 2004 Report Share Posted October 3, 2004 Funkcija straadaa, bet ir nepareizs kverijs kas pirms tam tiek padots mysql_query().. Lai dabuutu detalizeetaaku kljuudas izvadu tuuliit pat peec mysql_query() ieliec echo mysql_error(); Tas tev izvadiis kur kverijaa ir kljuuda (parasti tie ir nekorekti lauku nosaukumi vai kas taads), der arii izvadiit pashu kveriju. Link to comment Share on other sites More sharing options...
intloc Posted October 3, 2004 Author Report Share Posted October 3, 2004 OK! Paldies. Pastulba kljuuda bet nu taa tas ir... :D Link to comment Share on other sites More sharing options...
Recommended Posts