CodeIgniter Forums

Full Version: problem in to create json
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi everybody

i new start work with codeigniter

i have problem in create and fillterin in json

i create json file but i can't strip_tags in json array

for example :
PHP Code:
$json strip_tags($temp);

$GLOBALS['data'] .= str_replace('  '' ',$json); 
but in codeignter it dosent work ;

PHP Code:

sorry i can't good speak engilsh Sad
these two snippets do 2 totally different things