QQ77izs Posted November 5, 2006 Report Share Posted November 5, 2006 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 'repeat FROM amx_banhistory WHERE player_id = ''' at line 1 ??? šitas jau vienreiz bija , bet otro reizi es nevareeju atrast to topicu ... tas errors man ir taapeec ka man nesapas AMX Mod X kopaa ar amxban vai vienkaarshi man kaut kur ir maza kļūda? Link to comment Share on other sites More sharing options...
LiL_Netii Posted November 5, 2006 Report Share Posted November 5, 2006 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 'repeat FROM amx_banhistory WHERE player_id = ''' at line 1 1. aizejam uz savu phpmyadmin http://localhost/phpmyadmin/ 2. izveelamies datubaazi mysql 3. uzspeizham augshaa uz izveelnes sql 4. tajaa lodzinjaa iekopeejam shito: CREATE TABLE abs (val INT); 5. tad ejam uz C:\AppServ\www\amxbans un atveram ban_list.php ar notemap vai kko taadu un samekleejam shaadu koda vietu: // get previous offences if any $resource4 = mysql_query("SELECT count(player_id) AS repeat FROM $config->ban_history WHERE player_id = '$steamid'") or die(mysql_error()); while($result4 = mysql_fetch_object($resource4)) { $bancount = $result4->repeat; } 6. to samainam ar sho: $resource4 = mysql_query("SELECT count(player_id) AS repeatOffence FROM $config->ban_history WHERE player_id = '$steamid'") or die(mysql_error()); $bancount = $result4->repeatOffence; 7. Ja pees shitaa jums raada apmeeram shitaa: Parse error: parse error, unexpected '}' in D:\WebServer\www\amxbans\ban_list.php on line 325 tad atveram veelreiz un aiz tiko pieliktaa texta nonjemam ziimi } 8. Visam jaaiet! Link to comment Share on other sites More sharing options...
B3sT Posted November 5, 2006 Report Share Posted November 5, 2006 klausi netti vins par baniem vis vairak rubii pats uztaisija pamacibu Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now