Welcome Guest, Not a member yet? Register   Sign In
Array helpp .. urgent
#1

[eluser]phpfresher[/eluser]
Array ( [module_permission] => Array ( [name] => Array ( [0] => client_report [1] => client_requirement [2] => user_management [3] => my_view ) [class_name] => Array ( [0] => client [1] => client [2] => user [3] => myview ) ) )

Can anyone helo me to ...read this array using foreach loop.
i did like this but ... didnot work
<?php
for($i=0;$i<count($module_permission['name']);$i++){
?&gt;
<li>
&lt;?php
echo anchor($module_permission['class_name'][$i].'/'.$module_permission['name'][$i],$module_permission['name'][$i]);
};?&gt;
</li>


Messages In This Thread
Array helpp .. urgent - by El Forum - 04-28-2011, 03:43 AM
Array helpp .. urgent - by El Forum - 04-28-2011, 03:53 AM
Array helpp .. urgent - by El Forum - 04-28-2011, 04:29 AM
Array helpp .. urgent - by El Forum - 04-28-2011, 04:33 AM
Array helpp .. urgent - by El Forum - 04-28-2011, 07:24 AM
Array helpp .. urgent - by El Forum - 04-28-2011, 08:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB