removed the echo statments from insert_pi_data.php