need pipes at start and end of each row for php