ahoj , na localhostu mi vse funguje, ale na wz ne pise mi to :
Warning: mysql_result(): supplied argument is not a valid MySQL result resource
in /3w/kvalitne.cz/x/fxxx/xx/index.php on line 23
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
resource in /3w/kvalitne.cz/x/fxx/xx/index.php on line 45
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /3w/kvalitne.cz/x/fxx/xx/index.php on line 54
a zde ty radky :
23/
$pocet_Strategie = mysql_result(mysql_query("SELECT COUNT(*) FROM XXX WHERE
XXY='XXXYX'"), 0);
45/
while($seznam=mysql_fetch_array($sql_dotaz))
54/
echo "</table><br /><p align='center'> Celkem
".mysql_num_rows($sql_dotaz)." hracek";
predem dikec
Bud mas blbe nastavene pripojeni mysql_connect(), nebo mas chybu v SQL dotazu.
Urcite chyba v SQL, muze to byt v jine verzi db, pokud ti to doma jde...Vecinou zalezi na velikosti pismen ap...