php - Getting Null values for the Long length Strings -


$val=""; $val = mysql_real_escape_string(stripslashes(trim($_post['feed']))); $name = stripslashes(trim($_request['name'])); if (isset($val)) {       error_log("*********************************");       $json = array();       $temp = json_encode($val);       error_log("encoded value = ". $temp);       $decoded = json_decode($temp); 

whenever, provide long length string 'val', decoded value gets null. however, provides correct value in case of short length string. need help.


Comments

Popular posts from this blog

How to use SUM() in MySQL for calculated values -

ios - IBOutlet for image button not correctly referencing button after recreating outlet -

java - AEM: 403 Forbidden occurs when call a Post servlet -