Not quite. Need to make it $row not $rows, and then take out the line further down about $row = $rows[0].