03-14-2016, 04:31 AM
No i tried the following
<pre></pre>
It results nothing . Just blank . I am really really worried without knowing where i am doing mistake
<pre>
Code:
<?php
$sql= "select name from permissions where id=users.permissions";
$rslt = $db->query($sql);
foreach($rslt as $newArray){
$roleName = $newArray['name'];
echo "$roleName";
}
It results nothing . Just blank . I am really really worried without knowing where i am doing mistake