Mi problema es el siguiente...
Estoy teniendo el siguiente error a realizar una consulta:
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 '-estilo WHERE usuario = 'ned'' at line 1
el codigo es este
Código PHP:
include('configuracion.php');
include('navbar.php');
$usuario = $_GET["usuario"];
$result = mysql_query("SELECT usuario, fondo-color, fondo-url, fondo-posicion, fondo-estilo, fondo-movimiento, texto-color, texto-tamaño, texto-estilo, texto-fuente, tabla-color FROM perfil-estilo WHERE usuario = '$usuario' ", $con)or die (mysql_error());
Desde ya, muchas gracias! :D