Buenas noches otra vez yo por aqui, estoy teniendo un error de sintaxi, y hasta ahora no he dado con el problema, ademas soy novato y estoy aprendiendo si me pueden ayudar se los agradeceria este es el error
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 '' at line 1
este es mi query
$resultid = mysql_db_query("basededatos","SELECT * FROM postal WHERE id_postal=" . $id_postal);
$damefila=mysql_fetch_array($resultid) or die( mysql_error() );