hola estuve horas probando diferentes sentencias pero nada no borra absolutamente nada haber si me ayudan este es la parte donde borro los datos (envio el id numerico desde flash para borrar)
Código:
function borrar($ID)
{
GLOBAL $db,$table;
$ID = trim($ID);
$new_query = mysql_query("DELETE FROM $table WHERE ID = '$ID'");
}
que es lo que estoy haciendo mal?


saludos