FanaT Posted August 25, 2005 Report Share Posted August 25, 2005 ошибка номер: 2 [Предупреждение] описание ошибки: mysql_fetch_row(): supplied argument is not a valid MySQL result resource В файле: D:\WWW\Apache2\htdocs\class\database\mysql.php В строке: 154 to man parada kad es ieeju uz sava saita neatljautajos nodalijumos bez ielogo6anas adminam. un man vienk. un tad ir autorefresh un jabut galvenajai lapai bet man parada to pa6u lapu ar to pa6u kljudu re kur ir ta 154 rinda kura ir kljuda - function fetch_object($resource) { $result = mysql_fetch_object($resource); return $result; } pasakiet ko darit plz Link to comment Share on other sites More sharing options...
Delfins Posted August 25, 2005 Report Share Posted August 25, 2005 tu lasīt māki? tur tācu viss pateikts... Link to comment Share on other sites More sharing options...
v3rb0 Posted August 25, 2005 Report Share Posted August 25, 2005 pieliec paarbaudi vai ir atlauts pieklut tai lapai, ja nav, tad neizpildi kveriju. Link to comment Share on other sites More sharing options...
Grey_Wolf Posted August 25, 2005 Report Share Posted August 25, 2005 to man parada kad es ieeju uz sava saita neatljautajos nodalijumos bez ielogo6anas adminam. un man vienk. un tad ir autorefresh un jabut galvenajai 21430[/snapback] skaidri un gaishi - atbilde jau ir tavaa jautaajumaa :lol: kaa peec tavaam domaam lai izpildaas dotais qverijs? ja netiek piekonekteets Mysql......... P.S. un kaapeec ej tajos NEATLJAUTAJOS NODALIJUMOS :lol: Link to comment Share on other sites More sharing options...
FanaT Posted August 25, 2005 Author Report Share Posted August 25, 2005 nja lohu bars! nevar neviens norm atbildi sniegt iesacejam:( uzreiz tiek apdirsts... Link to comment Share on other sites More sharing options...
Analgiins Posted August 25, 2005 Report Share Posted August 25, 2005 esi optimists, nokrati to suudu chupinju un ej taalaak. Vai ta nepaziisti Latvieshus - tiem tak ka tik kaut ko apdirst! :) Link to comment Share on other sites More sharing options...
Robis Posted August 25, 2005 Report Share Posted August 25, 2005 FanaT - bet kurš vainīgs, ka nemāki lasīt? Link to comment Share on other sites More sharing options...
FanaT Posted August 25, 2005 Author Report Share Posted August 25, 2005 FanaT - bet kurš vainīgs, ka nemāki lasīt? 21474[/snapback] nu nemaku! vot tu baigi gudrs esi ne? nu tad pastasti ko darit! Link to comment Share on other sites More sharing options...
Robis Posted August 25, 2005 Report Share Posted August 25, 2005 mysql_fetch_row(): supplied argument is not a valid MySQL result resource Ko tas nozīmē? Ka parametrs ko tu padod nav korekts MySQL rezultāts. Tam ir jābūt izpildīta mysql_query() rezultātam: $query_result = mysql_query("SELECT * FROM `FanaT` WHERE `action`='teach me read';"); $object = fetch_object($query_result); function fetch_object($resource) { $result = mysql_fetch_object($resource); return $result; } Link to comment Share on other sites More sharing options...
bubu Posted August 25, 2005 Report Share Posted August 25, 2005 omg, Robis, tu pārspēj pats sevi. echo my_echo_string('blabla'); function my_echo_string($s) { return $s; } Link to comment Share on other sites More sharing options...
Analgiins Posted August 25, 2005 Report Share Posted August 25, 2005 bubu to jau rakstiija FanaaTs: function fetch_object($resource) { $result = mysql_fetch_object($resource); return $result; } Link to comment Share on other sites More sharing options...
FanaT Posted August 25, 2005 Author Report Share Posted August 25, 2005 tulit mani atkal laikam aprunas... cita kljuda... Fatal error: Cannot redeclare Database::fetch_object() in D:\WWW\Apache2\htdocs\class\database\mysql.php on line 152 Link to comment Share on other sites More sharing options...
bubu Posted August 25, 2005 Report Share Posted August 25, 2005 (edited) Ui sorry, atvainojos Robi. Fatal error: Cannot redeclare Database::fetch_object() in D:\WWW\Apache2\htdocs\class\database\mysql.php on line 152 Mums kristāla bumbā jāzīlē, kas atrodas 152. rindā? Edited August 25, 2005 by bubu Link to comment Share on other sites More sharing options...
Robis Posted August 25, 2005 Report Share Posted August 25, 2005 Fatal error: Cannot redeclare Database::fetch_object() in D:\WWW\Apache2\htdocs\class\database\mysql.php on line 152 tev jau kaut kur iepriekš ir nodefinēts tas objekts Database laikam. Link to comment Share on other sites More sharing options...
Robis Posted August 25, 2005 Report Share Posted August 25, 2005 FanaT vienkārši ieliec pastē te kaut kur bija tāda iespēja - visu to failu mysql.php Link to comment Share on other sites More sharing options...
Recommended Posts