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

javascript - How do you prevent nested queries/catches in sequelize? -

java - Could not retrieve pre-bound Hibernate session - Could not obtain transaction-synchronized Session for current thread -

ruby on rails - ActiveRecord order not working -