>DansTonCode();

Tous les codes sourcespage 43

PHP
 23 Juillet, 2014 à 01:19
#222
<?php
//Took me a while... Finally got it to work :)
// (xxxx), would you check if this is right?
$arrayString='12,53,653,12,54,65,334,73';
$arrayExploded=explode(',',$arrayString);
$arrayStringNew=implode(';',$arrayString);

?>
C#
 22 Juillet, 2014 à 10:23
#170
if (hyperLink.Enabled != false)
{
	hyperLink.Enabled = false;
}
PHP
 21 Juillet, 2014 à 11:31
#177
foreach($menus as &$menu) {
    		$column_count = $menu['count'] / $columns;
    		
    		$column = 1;
    		$blocks = array();
    		foreach($menu['data'] as $md) {
    			if($md['cumulative_count'] > ( ($column_count * $column) * 1.15 ) ) { /* 15% more height... because fuck you, that's why ! */
					$column++;    				
    			} 
    			$blocks[$column][] = $md;
    		}
    		$menu['blocks'] = $blocks;    			    		
    	}