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 -

loops - Spock: How to use test data with @Stepwise -