Autor Zpráva
Darg
Profil *
mysql_fetch_array
Darg
Profil *
$hrac = $_SESSION['hrac'];
$id_hrace = $_SESSION['id_hrace'];
$dotaz = @mysql_query("SELECT * FROM hra_tahy WHERE id_hrace='$id_hrace', hrac='$hrac'");
echo mysql_error();
$radek = mysql_fetch_array($dotaz);

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 ' hrac='Darg'' at line 1
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/ftpsite/darg.profitux.cz/hra/scripty/script_tahy.php on line 8

Můžete mi pls poradit já už opravdu nevim
pyty
Profil
skus pouzit miesto rovnasa LIKE.. teda spon ked tam mas string...
aha, mas :) je to v tom errore .. tak to bude snad v tom
djlj
Profil
SELECT * FROM hra_tahy WHERE id_hrace='$id_hrace' AND hrac='$hrac
pyty
Profil
nj, aj to :)
Darg
Profil *
Omg já sem vůl moc díky :))
Toto téma je uzamčeno. Odpověď nelze zaslat.

0