$value) { list($DB,$TAB) = explode(".", $key); PMA_query_as_cu("DELETE FROM ".$GLOBALS['cfgRelation']['designer_coords']." WHERE `db_name`='$DB' AND `table_name` = '$TAB'",FALSE,PMA_DBI_QUERY_STORE) or PMD_err_sav(); PMA_query_as_cu("INSERT INTO ".$GLOBALS['cfgRelation']['designer_coords']." (db_name, table_name, x, y, v, h) VALUES ('$DB','$TAB','$t_x[$key]','$t_y[$key]','$t_v[$key]','$t_h[$key]')",FALSE,PMA_DBI_QUERY_STORE) or PMD_err_sav(); } //---------------------------------------------------------------------------- function PMD_err_sav() { global $die_save_pos; // if this file included if (! empty($die_save_pos)) { die(''); } } if(! empty($die_save_pos)) { ?>