query_execDB(" INSERT INTO ot_categories SET id = 'NULL', category_name = '" . addslashes($_GET['name']) . "', category_description = '" . addslashes($_GET['description']) . "', category_url = '" . addslashes($_GET['url']) . "', category_status = 'yes' "); // We want to know the ID of the category $_GET['id'] = mysql_insert_id(); // Now whe create a new row in the table via AJAX ?>