returns html for insert instead of echoing