<?php $pid = "12"; // string number from the database echo json_encode($pid, JSON_NUMERIC_CHECK);
You have javascript disabled. You will not be able to edit any code.