$text=file_get_contents('pathDeTuArchivo.txt');mysql_query("INSERT INTO tuTabla (tuCampo) VALUES ($text);");