Stalker Posted November 19, 2007 Report Share Posted November 19, 2007 Karo4 uzlikt sanu menu ar pie reizes gribeju bet met erroru tagat! Fatal error: Call to undefined function sql_query() in D:\AppServ\www\themes\TBDev\stdhead.php on line 105 taja linijā ir $res1 = sql_query("SELECT COUNT(*) FROM messages WHERE receiver=" . $CURUSER["id"] . " AND location=1") or print(mysql_error()); Link to comment Share on other sites More sharing options...
Val Posted November 19, 2007 Report Share Posted November 19, 2007 Fatal error: Call to undefined function karo4 pār1tul2kot te4v šit8o? Link to comment Share on other sites More sharing options...
Stalker Posted November 19, 2007 Author Report Share Posted November 19, 2007 karo4 pār1tul2kot te4v šit8o? Fatāla kļūda: Izsaukums pie nenoteiktas funkcijas! Un ko man tas dot? Link to comment Share on other sites More sharing options...
Val Posted November 19, 2007 Report Share Posted November 19, 2007 parādi, kāda izskatās tā sql_query funkcija. varbūt neesi vēl pats to uzrakstījis? Link to comment Share on other sites More sharing options...
Stalker Posted November 19, 2007 Author Report Share Posted November 19, 2007 $res1 = sql_query("SELECT COUNT(*) FROM messages WHERE receiver=" . $CURUSER["id"] . " AND location=1") or print(mysql_error()); Link to comment Share on other sites More sharing options...
andrisp Posted November 19, 2007 Report Share Posted November 19, 2007 Stalker, kas tu ko nesaprast ? :) Tāda funkcija vienkārši neeksistē. Link to comment Share on other sites More sharing options...
Stalker Posted November 19, 2007 Author Report Share Posted November 19, 2007 Nu man veinalga vai existē vai nē, kā lai salabo lai nemot erroru? Link to comment Share on other sites More sharing options...
andrisp Posted November 19, 2007 Report Share Posted November 19, 2007 (edited) Izveidojot to funkciju ? Bet vispār meibī tev pietiks, ja aizstāsi to sql_query() ar mysql_query(). Edited November 19, 2007 by andrisp Link to comment Share on other sites More sharing options...
Stalker Posted November 19, 2007 Author Report Share Posted November 19, 2007 Ja tnx tagat man darbojas bet rada vel vienu erroru! Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\AppServ\www\include\bittorrent.php on line 476 Table 'utf8_unicode_ci.guests' doesn't exist Link to comment Share on other sites More sharing options...
andrisp Posted November 19, 2007 Report Share Posted November 19, 2007 Tabula neekistē. Link to comment Share on other sites More sharing options...
Stalker Posted November 19, 2007 Author Report Share Posted November 19, 2007 Nja kur lai dabu tabulu? Link to comment Share on other sites More sharing options...
Val Posted November 19, 2007 Report Share Posted November 19, 2007 izveidot jau mēģināji? :) Link to comment Share on other sites More sharing options...
Grey_Wolf Posted November 19, 2007 Report Share Posted November 19, 2007 Stalker --> noper Kritinjus Papiru un Uzzime..... Nu kur lai dabun... 1. uzzimet uz papira 2. Nopirkt veikala (varbuut kautkur pardodas gatavas ??) 3. iemacities Mysql (SQL) un uzrakstiit .... Izvelies sev piemerotako.... Link to comment Share on other sites More sharing options...
Stalker Posted November 19, 2007 Author Report Share Posted November 19, 2007 Da uzrakstīt ko lai raksta? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted November 19, 2007 Report Share Posted November 19, 2007 Stalker --> kaa ko lai raksta --> tabulu kaada tev nepiecieshama .... Nemaki MySQL (SQL) ? --> macies... Jebkura manualii--> apraksta viena no pirmajam sadaljam ir Kaa izveidot pashu DB un tabulu... + Vari arii izmantot gatavus Tuuljus (PhpMyAdmin....) kur tas ir novienkarosts liidz apsurdam (vienkarsak laikam vairs nevar) ..... Link to comment Share on other sites More sharing options...
Recommended Posts