Retrieve Values From Json Encoded String
I am storing a concatenated string like this: echo json_encode($PostedDate.$Places.$Company.$Designation.$ProjectDetails.$DesiredCandidate.$HRName.$HRContact.$Email); I can split
Solution 1:
put the strings onto a php array like so:
echo json_encode(array($PostedDate,$Places,$Company));
Solution 2:
Solution 3:
Put it into an array in php and then json_encode the array. Then you dont need to do your crazy split on the javascript side and you dont need to worry about preserving a position in a string.
Post a Comment for "Retrieve Values From Json Encoded String"