Hits: 817 Have the fun with json…. JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. # yum -y install php-pear # pecl install json # vi /etc/php.d/json.ini extension=json.so # service httpd restart
Hits: 125 Here is the PHP function that will remove empty key => value in PHP array… function array_trim($sv) { $s = 0; $svn = null; $c = count($sv); for($i = 0; $i < $c; $i++) { if($sv[$i] != “”){ $svn[$s++] = trim($sv[$i]); } } return $svn; } $svarray = array(‘ ‘, ‘svlinux’, ‘svnlabs’, ‘lamp’, ”); [...]
Hits: 271 CakePHP is the rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. It follows design patterns like MVC and ORM, CakePHP reduces development costs and helps developers write less code. Features of CakePHP: – Extremely Simple. – Active, Friendly Community. – Flexible License. – Clean IP – [...]









