Linux – kernel version

Έκδοση του Red Hat Linux cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.8 (Santiago) Στοιχεία του kernel uname -a Linux venus.amsec.gr 2.6.32-642.13.1.el6.x86_64 #1 SMP Wed Nov 23 16:03:01 EST 2016 x86_64 x86_64 x86_64...

PHP Transposing Array

// Fetching MySQL table rows to array: $new_array while($row =mysqli_fetch_array($result, MYSQLI_ASSOC)) { $new_array[] = $row; } // Transposing Array $out = array(); foreach($new_array as $key => $a){ foreach($a as $k => $v){ $out[$k][$key] = $v; } } PHP Example...