I have a user that typed the following into an input field
set 30º
This data was stored in the table using software other than php.
Now I am writing some new access code in php and while the data is retrieved from the table correctly, the ajax response returns a null value for that column/field (see photo look for "PRJCTADDR1 ")
I return a response to the client like so through jason_encode:
echo json_encode($re s_array);
The client gets a null value, see attached photo (again look for "PRJCTADDR1 ".
Is there some standard routine to strip this and other characters from the data stream or otherwise escape these value?
What values should I be on the lookout for?
set 30º
This data was stored in the table using software other than php.
Now I am writing some new access code in php and while the data is retrieved from the table correctly, the ajax response returns a null value for that column/field (see photo look for "PRJCTADDR1 ")
I return a response to the client like so through jason_encode:
echo json_encode($re s_array);
The client gets a null value, see attached photo (again look for "PRJCTADDR1 ".
Is there some standard routine to strip this and other characters from the data stream or otherwise escape these value?
What values should I be on the lookout for?
Comment