Kód: Vybrať všetko
<?php
include("db.php");
mysql_select_db("uzfof");
$x = $_POST['x'];
$animacia = $_POST['animacia'];
$meno = $_POST['meno'];
mysql_query("UPDATE users SET x=$x,animation='$animacia' WHERE name=$meno") or die(mysql_error());
$suc = "sucess!";
echo "&suc=$suc";
?> http://www.fof.comehere.cz/vpis.php
inak:
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 'animation='' WHERE name=' at line 1